Skip to content

ICE on static typeid #1540

@develop32

Description

@develop32

Trying to statically initialize variable with a typeid value causes the compiler to crash.

void main()
{
final class A {}
static a = typeid(A);
}

Tested only on Windows, both x86 and x86_64 platforms.

Metadata

Metadata

Assignees

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