1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 17:28:00 +02:00
Beef/IDE/Tests/CompileFail001/src/Properties.bf
2020-04-10 07:53:56 -07:00

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
}
}
}
}