mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-31 06:02:11 +00:00
Better testing infrastructure; Initial exports/imports/re-exports
This commit is contained in:
7
tests/compiler/reexport.ts
Normal file
7
tests/compiler/reexport.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export { add, renamed_sub } from "./export";
|
||||
|
||||
import { add as imported_add, renamed_sub as imported_sub } from "./export";
|
||||
|
||||
export { imported_add as renamed_add, imported_sub as rerenamed_sub };
|
||||
|
||||
imported_add(1, 2) + imported_sub(3, 4);
|
Reference in New Issue
Block a user