Skip to content

v2.0.0-beta69

Choose a tag to compare

@pachanga pachanga released this 15 Sep 09:01
· 1637 commits to master since this release
  • Adding initial support for 'capture list' semantics in lambdas similar to Swift:
for(int i=0;i<3;i++)
{
  start(func() [i] {  // Here we explicitly say we want a copy of the i variable. By default all variables are captured by reference.
    trace((string)i)
   }) 
}
  • Adding a basic built-in debugger() function which will make the C# debugger stop (if it's attached) on the line.
func test() {
   debugger()
}

This allows for example to inspect local function variables.
image

There's no a full blown BHL debugger yet but it's better than nothing.

  • Adding a compile time check for potentially ambiguous import paths. If several files might be imported using the same import path (via project's search path) the compile time error is triggered

  • Adding native C# type to all native symbols for better reflection inspection

  • Fixing stack trace retrieval for some edge cases in paral blocks

  • Fixing potential bug when a module imports itself

  • Fixing unserialisation of generic arrays and maps from compiled modules

  • Adding better validation of static methods and attributes calls during compilation

  • Adding basic support for LSP diagnostics

  • Improving LSP server support on Windows