pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
303 stars 70 forks source link

Future natives not future declarable. #648

Open Y-Less opened 3 years ago

Y-Less commented 3 years ago

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:

Y-Less commented 3 years ago

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

stale[bot] commented 2 years ago

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