Skip to content

Runtime error on synchronized(typeid(SomeInterface)) { } #1377

Closed
@puneet

Description

@puneet

Reduced testcase. Compiles with dmd. Tested with LDC master and merge-2.070. Both compile a binary that segfault when executed. synchronized(typeid(SomeClass)) { } works as expected.

// reduced testcase
interface Foo { }
void main() {
synchronized(typeid(Foo)) { }
}

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