Skip to content

Fenced imports don't support aliases / as #179

Open
@brekk

Description

@brekk

Expectation: Aliased imports should work within the fence

Actual: Aliased imports aren't consistent

import IO from "IO"

#- import { delimiter as slash } from "node:path" -#

main = () => {
  IO.pTrace(">>>", #- slash -#)
  joined = #- "x" + slash + "a" -#
  IO.pTrace(">->", joined)
}

☝🏼 This prints:

>>> {}
>-> {}

Additionally in a different repo I have a more complicated use case where slash is inexplicably a : character

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions