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
}
'windows_stdcall' {
p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon',
p.tok.pos())
// TODO: uncomment after bootstrapping and replacing usages in builtin
// p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon', p.tok.pos())
}
'_fastcall' {
p.note_with_pos('_fastcall has been deprecated, it will be an error soon',
p.tok.pos())
// TODO: uncomment after bootstrapping and replacing usages in builtin
// p.note_with_pos('_fastcall has been deprecated, it will be an error soon', p.tok.pos())
}
'callconv' {
if !fna.has_arg {