compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Future natives not future declarable.

Open Y-Less opened this issue 3 years ago • 2 comments

Issue description:

Calling functions not yet declared is fine, unless they're natives, which doesn't work.

Minimal complete verifiable example (MCVE):

main()
{
	Func();
}

native Func();

Workspace Information:

  • Compiler version:
  • Command line arguments provided (or sampctl version):
  • Operating System:

Y-Less avatar May 04 '21 00:05 Y-Less

If you call it in switch before declaration the compiler thinks there's unmatched braces.

Y-Less avatar May 04 '21 00:05 Y-Less

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Jan 09 '22 03:01 stale[bot]