Commits
main
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
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 25, 2023
Commits on Apr 23, 2023
Commits on Apr 22, 2023
Commits on Apr 14, 2023
Commits on Apr 11, 2023
-
-
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.
Commits on Feb 3, 2023
Commits on Feb 2, 2023
Commits on Jan 31, 2023
-
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.
Commits on Jan 30, 2023
Commits on Jan 24, 2023
Commits on Jan 22, 2023
Commits on Jan 19, 2023
Commits on Jan 17, 2023
Commits on Jan 13, 2023
Commits on Jan 12, 2023
Commits on Jan 8, 2023
Commits on Jan 6, 2023
-
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.
Commits on Jan 4, 2023
Commits on Dec 22, 2022
Commits on Dec 17, 2022
Commits on Dec 14, 2022
Commits on Dec 6, 2022
Commits on Dec 5, 2022
-
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).