-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix asc entry path issue on Windows incl. test (#1419)
- Loading branch information
Willem Wyndham
authored
Jul 30, 2020
1 parent
c286e06
commit a73141f
Showing
10 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export let forty_one = 41; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// @ts-ignore | ||
@global | ||
const ONE = 1; | ||
|
||
assert(ONE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import { forty_one } from "./data"; | ||
import "./globalTwo"; | ||
|
||
// @ts-ignore: decorator | ||
@global const answerToLife = 42; | ||
assert(answerToLife); | ||
@global function answerToLife(): i32 { return forty_one + ONE; } | ||
|
||
assert(answerToLife()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
assert(answerToLife == 42); | ||
assert(answerToLife() == 42); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
assert(answerToLife == 42); | ||
assert(answerToLife() == 42); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
assert(answerToLife == 42); | ||
assert(answerToLife() == 42); |
2 changes: 1 addition & 1 deletion
2
tests/asconfig/entry-points/node-resolution/node_modules/entry-points/asconfig.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/asconfig/entry-points/node-resolution/node_modules/entry-points/assembly/globals.ts
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/asconfig/entry-points/node-resolution/node_modules/entry-points/assembly/index.ts
This file was deleted.
Oops, something went wrong.