Skip to content

Output "unsupported extern" warnings only if used #447

@marzipankaiser

Description

@marzipankaiser

When compiling an extern definition like

extern def foo(): Unit = js """
    "foo"
"""

in a non-matching backend (e.g. chez), we output a warning.
It would be nice to only output this warning if the definition is actually used (reachable transitively from main).

(Future work from #427)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions