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.