Skip to content

v2.12.0 - String index s[i] (interpreter + Wasm)

Choose a tag to compare

@gmpassos gmpassos released this 18 Jul 09:25
· 131 commits to master since this release
73e3357

String index s[i] (interpreter + Wasm)

Adds String[i] — Dart's index operator, which returns the character at i as a length-1 String — to the AST interpreter core (which was missing it) and to the on-the-fly WebAssembly compiler. Both backends now agree.

This restores functionality briefly dropped in 2.11.0, where s[i] had been mistaken for invalid Dart; it is valid, so it is now supported end to end.

Full changelog: https://github.com/ApolloVM/apollovm_dart/blob/v2.12.0/CHANGELOG.md