swc/bundler/tests/fixture/deno-8680/input/entry.ts
강동윤 ba13db54db
fix(bundler): Fix remaining bugs (#1296)
swc_bundler:
 -  Allow `export *` and `import` from same source. (denoland/deno#8828, denoland/deno#8725)
 -  Handle contextual keywords. (denoland/deno#8680)
 -  Prevent duplicated identifiers. (denoland/deno#8725)

swc_ecma_transforms:
 - dce: Preserve tags in tagged template literals. (denoland/deno#8746)
 - dce: Handle throw statement correctly. (denoland/deno#8736)
2020-12-28 19:53:40 +09:00

6 lines
203 B
TypeScript

import { instanceof as x } from "./dep";
// Second import is required, otherwise the value is inlined instead of
// being put in an invalid local variable.
import * as y from "./dep";
console.log(x, y);