1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 00:50:25 +02:00
Beef/IDE/Tests/CompileFail001/src/Properties.bf

36 lines
331 B
Beef
Raw Normal View History

2020-04-10 07:53:56 -07:00
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
}
}
}
}