Skip to content

enteredAfter(phase.next) makes all subsequent enteredAfter(phase) become lost #440

@DarkDimius

Description

@DarkDimius

We have a miniphase

(new FirstTransform,
 new SyntheticMethods)

Both synthesize symbols an use enteredAfter to install them. If SyntheticMethods is first to clone the Scope in enteredAfter(SyntheticMethods) all subsequent updates to previous scopes do not get propagated: all enteredAfter(FirstTransform) will get lost.

I see 2 way to fix this: either make all phases run atGroupEnd(than they will always update the same scope) or enteredAfter needs to be updated to also install the Symbol to future Scopes.

@odersky, WDYT?

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