Skip to content

Effect Annotations propagate incorrectly when the plugin is disabled #23

@lrytz

Description

@lrytz
class C { def m(): Int @pure = 1 }
def makeC: C @io = { println("In Factory"); new C }
def test = makeC.m()

When the effects plugin is not enabled, method test gets type Int @pure - bad.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions