assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

not support windows path

Open HerrCai0907 opened this issue 3 years ago • 0 comments

// assembly/index.ts
import {a} from "../other/test"
export function add(a: i32, b: i32): i32 {
  return a + b;
}

// other/test.ts
export const a:i32 = 2

npx asc ./assembly/index.ts works npx asc .\assembly\index.ts does not work

ERROR TS6054: File '/assembly/other/test.ts' not found.

import {a} from "../other/test" ~~~~~~~~~~~~~~~ in /assembly//index.ts(2,17)

FAILURE 1 parse error(s)

HerrCai0907 avatar Apr 14 '22 06:04 HerrCai0907