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

Fix assertions for native functions returning arrays #650

Closed Daniel-Cortez closed 2 years ago

Daniel-Cortez commented 3 years ago

What this PR does / why we need it:

Fixes two assertions triggering when a native function explicitly returning an array gets defined or called (see #466).

Which issue(s) this PR fixes:

Fixes #466

What kind of pull this is:

Additional Documentation:

Special thanks to @IllidanS4 not only for reporting the bug this PR fixes, but also for making a thorough research for the source of the said bug, which made the overall process of fixing it much easier.

stale[bot] commented 2 years ago

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

Y-Less commented 2 years ago

Merged locally.