Skip to content

Compiler, language server hangs #6185

@AsbjornOlling

Description

@AsbjornOlling

if I run roc test A.roc on this file, it hangs forever, using 100% of one core:

interface A
    exposes [a]
    imports [b.C]

a = 2

If I remove b.C from the imports (or uncomment it), roc test A.roc correctly terminates with "No expectations were found."

roc build, roc dev, roc test, and roc check all exhibit the same behavior, also on any other files that import A.roc
The roc_ls that my emacs mode started even does the same.. hangs using 100% on one core.

Feels related to #6181

Using roc from commit 7b1c009ca2bb07dc10a80136c1dccfc4de9996d2

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