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:
parent
9cd47a784b
commit
34dcd47dd5
6 changed files with 98 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue