consulo / consulo-csharp

Languages: C#
Apache License 2.0
50 stars 6 forks source link

Parsing error with struct initialization #500

Closed VISTALL closed 6 years ago

VISTALL commented 6 years ago
public struct AA {
    public int b;

    public Inner inner;
}

public struct Inner {
    public string value;
}

public class NamingTest {

    private AA aa;

    public void test() {
        aa = new AA
        {
            inner = { value = "dsadas"} // error here
        };
    }
}