postpone the notices for windows_stdcall and _fastcall till the PR is merged and vc bootstraps

pull/14027/head
Delyan Angelov 2022-04-14 08:58:15 +03:00
parent e99059471b
commit ad3797386d
1 changed files with 4 additions and 4 deletions

View File

@ -222,12 +222,12 @@ fn (mut p Parser) fn_decl() ast.FnDecl {
is_markused = true is_markused = true
} }
'windows_stdcall' { 'windows_stdcall' {
p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon', // TODO: uncomment after bootstrapping and replacing usages in builtin
p.tok.pos()) // p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon', p.tok.pos())
} }
'_fastcall' { '_fastcall' {
p.note_with_pos('_fastcall has been deprecated, it will be an error soon', // TODO: uncomment after bootstrapping and replacing usages in builtin
p.tok.pos()) // p.note_with_pos('_fastcall has been deprecated, it will be an error soon', p.tok.pos())
} }
'callconv' { 'callconv' {
if !fna.has_arg { if !fna.has_arg {