Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Jan 22, 2025
1 parent 55e5c72 commit c35fb1b
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions vlib/v/ast/types.v
Original file line number Diff line number Diff line change
Expand Up @@ -1099,32 +1099,36 @@ pub fn (mut t Table) register_builtin_type_symbols() {
t.register_sym(kind: .chan, name: 'chan', cname: 'chan', mod: 'builtin', is_pub: true) // 25
t.register_sym(kind: .any, name: 'any', cname: 'any', mod: 'builtin', is_pub: true) // 26
t.register_sym(
kind: .float_literal
name: 'float literal'
cname: 'float_literal'
mod: 'builtin'
kind: .float_literal
name: 'float literal'
cname: 'float_literal'
mod: 'builtin'
is_pub: true
) // 27
t.register_sym(
kind: .int_literal
name: 'int literal'
cname: 'int_literal'
mod: 'builtin'
kind: .int_literal
name: 'int literal'
cname: 'int_literal'
mod: 'builtin'
is_pub: true
) // 28
t.register_sym(
kind: .thread
name: 'thread'
cname: '__v_thread'
mod: 'builtin'
info: Thread{
kind: .thread
name: 'thread'
cname: '__v_thread'
mod: 'builtin'
info: Thread{
return_type: void_type
}
is_pub: true
) // 29
t.register_sym(
kind: .interface
name: 'IError'
cname: 'IError'
mod: 'builtin'
is_builtin: true
is_pub: true
) // 30
t.register_sym(kind: .voidptr, name: 'nil', cname: 'voidptr', mod: 'builtin') // 31
}
Expand Down

0 comments on commit c35fb1b

Please sign in to comment.