v0.2.0-M3
Pre-release
Pre-release
- implement a basic module system (87da71f)
// the module header is optional and if you don't have one then all the definitions in the file will be added to the global scope
module MyMod
// you can import all definitions from a module
import MySharedModule.*
// or import specific ones
import MyHelpers.StringBuilder
// import MyHelpers.{StringBuilder, HashMap} is also allowed
// public definitions are automatically exported and available in other modules
// you'd access it through import MyMod.DoStuff
public func DoStuff() {}
- expose both
WeakRefToBool
andRefToBool
as a newIsDefined
operation (supported in the decompiler as well) (22a92ac)
// you can now write
if IsDefined(myRef) {}
- fix an issue with some classes that were inaccessible before due to missing type definitions (9ffa48f)
- fix a bug with escaped literals not being transformed correctly (6bee9bd thanks to @flibX0r)
- fix a regression present when calling base class method overloads (bc303eb)
- fix compiler panics on certain kinds of intrinsic calls (436c75d)
- enforce correct function resolution in the desugar stage (a9d24c6)