mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
36 lines
331 B
Beef
36 lines
331 B
Beef
![]() |
namespace IDETest
|
||
|
{
|
||
|
class Properties
|
||
|
{
|
||
|
struct StructA
|
||
|
{
|
||
|
public int mA = 111;
|
||
|
|
||
|
public this()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public this(int a)
|
||
|
{
|
||
|
mA = a;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct StructB
|
||
|
{
|
||
|
public StructA B { get; }
|
||
|
|
||
|
int mZ = 9;
|
||
|
|
||
|
public this() //FAIL
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public void Yoop() mut
|
||
|
{
|
||
|
B = .(); //FAIL
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|