mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: is_o
This commit is contained in:
parent
5df3d8ac75
commit
b89617726c
@ -363,6 +363,10 @@ pub fn (mut c Checker) check_basic(got ast.Type, expected ast.Type) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut c Checker) check_matching_function_symbols(got_type_sym &ast.TypeSymbol, exp_type_sym &ast.TypeSymbol) bool {
|
pub fn (mut c Checker) check_matching_function_symbols(got_type_sym &ast.TypeSymbol, exp_type_sym &ast.TypeSymbol) bool {
|
||||||
|
if c.pref.translated {
|
||||||
|
// TODO too open
|
||||||
|
return true
|
||||||
|
}
|
||||||
got_info := got_type_sym.info as ast.FnType
|
got_info := got_type_sym.info as ast.FnType
|
||||||
exp_info := exp_type_sym.info as ast.FnType
|
exp_info := exp_type_sym.info as ast.FnType
|
||||||
got_fn := got_info.func
|
got_fn := got_info.func
|
||||||
|
@ -654,6 +654,9 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
|
|||||||
}
|
}
|
||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
|
'-is_o' {
|
||||||
|
res.is_o = true
|
||||||
|
}
|
||||||
'-b', '-backend' {
|
'-b', '-backend' {
|
||||||
sbackend := cmdline.option(current_args, arg, 'c')
|
sbackend := cmdline.option(current_args, arg, 'c')
|
||||||
res.build_options << '$arg $sbackend'
|
res.build_options << '$arg $sbackend'
|
||||||
|
Loading…
Reference in New Issue
Block a user