Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler crash #606

Open
BitFros7y opened this issue Nov 6, 2020 · 1 comment
Open

Compiler crash #606

BitFros7y opened this issue Nov 6, 2020 · 1 comment

Comments

@BitFros7y
Copy link

Issue description:

Compiler crashes with code bellow. I would expect it to at least give error (but i dont see why these code should not work).

Also, if you add size to myarray second dimension (or its first i have no idea, the one thats left for compiler to figure out). then compiler does not crash, but it starts dropping errors that make no sense at all.

Minimal complete verifiable example (MCVE):

new errortest[24] = "Test";//Does not matter if initialized or not
new myarray[2][] =
{
	errortest,
	errortest
};

Workspace Information:

  • Compiler version: 3.10.10 (also compiled from dev branch, but crash remained)
  • Command line arguments provided (or sampctl version): Standard sublime
[cmd: ['pawncc.exe', 'C:\\Users\\Ice\\Desktop\\Samp Server\\gamemodes\\Plugin\\Main.pwn', '-oC:\\Users\\Ice\\Desktop\\Samp Server\\gamemodes\\Plugin/Main', '-;+', '-(+', '-d3']]
[dir: C:\Users\Ice\Desktop\Samp Server\pawno]
  • Operating System: Windows 7 SP1 x64 (build 7601)
@stale
Copy link

stale bot commented Jun 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant