Skip to content

Releases: AssemblyScript/assemblyscript

v0.27.1

04 Mar 01:30
9497c3d
Compare
Choose a tag to compare

Bug fixes

  • Move compilation of instanceof helpers post override discovery (#2661) (9497c3d)

Other

v0.27.0

01 Feb 01:46
5cbbf84
Compare
Choose a tag to compare

Breaking changes

  • Check global uses more strictly (#2632) (5cbbf84)
    Use of global variables (in the Wasm sense) is now checked more strictly to prevent undesirable execution order. If the compiler detects that it is possible that a variable might not have been initialized when accessed, a diagnostic is produced. It cannot be ruled out that some amount of existing code will be affected, since such checks are performed at runtime in JS but are proven at compile time in AS. If encountered, the fix is to move the variable's declaration up, say before the first invocation of a function (that might call another function) accessing the variable, so it is guaranteed that it is initialized before its first use.

Bug fixes

  • Update this and return type in generated child class constructor (#2635) (941b0e1)

Other

v0.26.7

25 Jan 01:26
bcfb5e8
Compare
Choose a tag to compare

Bug fixes

v0.26.6

23 Jan 01:26
e06c7bc
Compare
Choose a tag to compare

Bug fixes

  • Handle all possible element kinds when walking exports (#2631) (e06c7bc)
  • Diagnose not yet implemented 'in' operator (#2629) (7ccadf0)

Other

  • Add parse methods to portable. Also fix couple type definitions (#2627) (4535263)

v0.26.5

20 Jan 01:37
eb60348
Compare
Choose a tag to compare

Bug fixes

  • Correctly analyze ParenthesizedExpression and FunctionExpression in parser (#2605) (#2620) (c0a0fd0)

Other

v0.26.4

18 Jan 01:29
Compare
Choose a tag to compare

Bug fixes

v0.26.3

14 Jan 01:23
6a7aaef
Compare
Choose a tag to compare

New features

v0.26.2

13 Jan 01:29
fc52230
Compare
Choose a tag to compare

Bug fixes

  • Maintain onNewLine state on subsequent lookahead (#2613) (fc52230)

Other

v0.26.1

09 Jan 01:26
Compare
Choose a tag to compare

Bug fixes

  • Mitigate endless loop in (invalid) override discovery (d46bfeb)
  • Check ASI upon unusual trailing expressions (#2252) (282d924)

Other

  • [NFC] Simplify lookup tables with reinterprect casts (#2609) (c9297db)

v0.26.0

07 Jan 01:25
Compare
Choose a tag to compare

Breaking changes

  • Add LUB computation for class types (#2594) (4b3b390)
    Binary and ternary expressions now compute and evaluate to the least upper bound of two not identical class type inputs in the absence of a better fitting contextual type. Technically a breaking change, yet likely without noticeable effects on existing code.

Bug fixes

  • Defuse assert in lookupPropertyAccessExpression after prior error (82812de)
  • Support trailing comma in function type parameters (#2608) (1ff71e5)

Other