Added a couple of extra tests for validating native calling conventions
Changed the constructor of the complex math add-on to support implicit conversion from primitive to the complex type
Added support for octal (0o777) and binary (0b1111) numbers.
Fixed crash in compiler when compiling call to imported function with default arguments
- Compiler no longer emits warnings on implementing the same interface multiple times
- Compiler will report error if virtual property in shared interface doesn't match first declaration of the interface
- Funcdefs are now automatically shared between modules if they are identical
Fixed sharing of funcdefs when loading from bytecode
Compiler generated invalid bytecode when compiling expression that called function pointer returned from virtual property accessor
Added test to catch memory leak on exception
Heredoc strings keep the last linebreak
Fixed mixup of script section ids in loaded bytecode
Fixed some compiler warnings on gnuc
Fixed memory leak that could happen upon script exception
Documentation
Releasing 2.26.1
- Improved error messages when GC can't destroy an object
- Fixed bug in compiler related to implicit casts of reference types in global variables
Fixed crash that could happen on releasing the engine if some garbage collected object was still kept alive by application
Fixed problem with native calling conventions for Android
Fixed a problem with shared global functions being compiled in every module thus causing memory leaks.