Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Apr 28, 2023

Commits on Apr 23, 2023

Commits on Apr 22, 2023

  1. Unify reference types (#2689)

    dcodeIO committed Apr 22, 2023

Commits on Apr 14, 2023

  1. Update src/README.md (#2685)

    dcodeIO committed Apr 14, 2023

Commits on Apr 11, 2023

  1. fix: Update Binaryen to 112.0.0-nightly.20230411 (#2683)

    Emscripten lowered the default stack size of emitted modules to 64kb recently, easily producing stack overflows in the optimizer. This version of Binaryen increases stack size to the previous 5mb again.
    dcodeIO committed Apr 11, 2023

Commits on Feb 3, 2023

Commits on Feb 2, 2023

  1. Update Binaryen (#2637)

    dcodeIO committed Feb 2, 2023

Commits on Jan 31, 2023

  1. Check global uses more strictly (#2632)

    BREAKING CHANGE: 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.
    dcodeIO committed Jan 31, 2023

Commits on Jan 24, 2023

Commits on Jan 19, 2023

  1. Unify badges style

    dcodeIO committed Jan 19, 2023
  2. Update badges

    dcodeIO committed Jan 19, 2023

Commits on Jan 6, 2023

  1. Add LUB computation for class types (#2594)

    BREAKING CHANGE: 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.
    dcodeIO committed Jan 6, 2023

Commits on Jan 4, 2023

Commits on Dec 17, 2022

  1. Update GitHub actions badges

    dcodeIO committed Dec 17, 2022

Commits on Dec 14, 2022

Commits on Dec 5, 2022

  1. Fix variable initialization checks / revise flow logic (#2578)

    BREAKING CHANGE: Initialization of global variables sometimes wasn't guaranteed before, allowing unsafe behavior if initialization indeed wasn't performed before access. To mitigate, variables from now on require either an initializer, a primitive type with a trivial default value (typically `0`), a nullable type (if a reference, defaulting to `null`) or otherwise annotation with definitive assignment (i.e. `let someObject!: ...`, then inserting a runtime check upon access).
    dcodeIO committed Dec 5, 2022
Older