Skip to content

Cannot desugar instantiation of inner class from another file #15

Open
@dzagieboylo

Description

@dzagieboylo

From @gharrma on May 4, 2018 21:7

PolyLLVM crashes because it tries to provide the enclosing instance as part of the constructor call, but the constructor has not yet been update to accept the enclosing instance (since it is defined in another file). This should be fixed by updating class types with enclosing instances before they are needed, not just when PolyLLVM gets around to desugaring their defining file.

This shows up twice in JDK 7, within the following two methods:

java.util.concurrent.locks.ReentrantLock.Sync#newCondition()
java.util.concurrent.locks.ReentrantReadWriteLock.Sync#newCondition()

Copied from original issue: gharrma/polyllvm#50

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions