Skip to content

Commit 65372dc

Browse files
author
Willem Wyndham
committed
fix: asconfig.json on windows
Currently adding an extra entry that depends on relative files breaks things on windows.
1 parent 348c42b commit 65372dc

File tree

8 files changed

+16
-10
lines changed

8 files changed

+16
-10
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export let forty_one = 41;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// @ts-ignore
2+
@global
3+
const ONE = 1;
4+
5+
assert(ONE);
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import { forty_one } from "./data";
2+
import "./globalTwo";
3+
14
// @ts-ignore: decorator
2-
@global const answerToLife = 42;
3-
assert(answerToLife);
5+
@global function answerToLife(): i32 { return forty_one + ONE; }
6+
7+
assert(answerToLife());
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
assert(answerToLife == 42);
1+
assert(answerToLife() == 42);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
assert(answerToLife == 42);
1+
assert(answerToLife() == 42);

tests/asconfig/entry-points/node-resolution/node_modules/entry-points/asconfig.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/asconfig/entry-points/node-resolution/node_modules/entry-points/assembly/globals.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/asconfig/entry-points/node-resolution/node_modules/entry-points/assembly/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)