1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-28 12:35:59 +02:00

Improvements to auto-impl properties

This commit is contained in:
Brian Fiete 2022-03-01 09:49:02 -08:00
parent 36e0a3a375
commit 06f4eb9576
8 changed files with 113 additions and 61 deletions

View file

@ -19,6 +19,9 @@ namespace IDETest
struct StructB
{
public StructA B { get; }
public StructA B2 { get; set mut; }
public ref StructA B3 { get; } //FAIL
public ref StructA B4 { get mut; }
int mZ = 9;
@ -29,6 +32,7 @@ namespace IDETest
public void Yoop() mut
{
B = .(); //FAIL
B2.mA = .(); //WARN
}
}
}