fix ktxt2 (errorMessage) alias not available

This commit is contained in:
2021-10-21 23:05:38 -04:00
parent 0e608c7cba
commit e16a37044a

View File

@@ -645,7 +645,7 @@ class Macros {
b.list([b.symbol("reason")]),
b.callSymbol("#when", [
b.symbol("vscode"),
b.callSymbol("errorMessage", [error]),
b.callSymbol("Vscode.window.showErrorMessage", [error]),
]),
// If running VSCode js, this throw will be a no-op but it makes the expression type-unify:
b.callSymbol("throw", [