Skip to content

2nd-level import reports errors at 1st-level import's call-site to l2 #110

@rjharmon

Description

@rjharmon

script: import {foo} from foo; ... foo()

foo:

import {bar} from bar;   ...func foo() { 
   ... bar() // "line 42" 
}

bar:

   // ...
   print("hi"); // or error()
   stuff.get("thing-not-found") 

I'm expecting all the issues in bar to be reported at sites in bar, but are reported at foo "line 42" instead. Nothing catastrophic, but for good modularity support...

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