entity Person {
  name : String
}

var p := Person { name := "1", name := "2" }

The above example is allowed, and name takes the value 2. I would expect an error or at least a warning.

Submitted by Max on 22 June 2022 at 11:32

Log in to post comments