Skip to content

v2.0.0-beta135

Compare
Choose a tag to compare
@pachanga pachanga released this 01 Aug 08:57
· 151 commits to master since this release

New Features

  • Making json-like initialization more flexible, adding support for collections (arrays and maps):
var arr = new []int [1, 2, 3]

var kv = new [string]int [["a", 1], ["b", 10], ["c", 100]]

Improvements

  • Bumping ANTLR runtime to 4.13.11
  • Speeding up parsing phase up to 10x by using ANTLR BailErrorStrategy by default and switching to standard strategy in case of errors only
  • Adding 'object GetNativeObject(Val v)' to INativeType interface and using it for more robust Type.Is(..) checks

Bugfixes

  • Fixing escaping of double quotes within strings
  • Making foreach(..) array type check more generic
  • Fixing bug related to static methods calls
  • Fixing lookup of symbols from class static methods