mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
35 lines
331 B
Beef
35 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
|
|
}
|
|
}
|
|
}
|
|
}
|