Someone reported the following code to crash the compiler:
enum A {}
A a = {};
The crash occurs in asCCompiler::CompileInitList
, because var->dataType.GetBehaviour()
returns null.
Someone reported the following code to crash the compiler:
enum A {}
A a = {};
The crash occurs in asCCompiler::CompileInitList
, because var->dataType.GetBehaviour()
returns null.
Thanks. I'll look into it an have it fixed.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've fixed this in revision 2901.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game