1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-23 18:18:00 +02:00

Fixes for type initializer blocks

This commit is contained in:
Brian Fiete 2020-12-07 10:58:02 -08:00
parent 9cd47a784b
commit 34dcd47dd5
6 changed files with 98 additions and 11 deletions

View file

@ -87,6 +87,22 @@ namespace LibA
return lhs == rhs;
}
}
class LibA3
{
public int mA = 3;
public static LibA3 sLibA3 = new LibA3() ~ delete _;
public this()
{
mA++;
}
}
class LibA4
{
public int mA;
}
}
class LibClassA