You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently a bug related to type testing against open records. The following from OpenRecord_Valid_4 illustrates:
type OpenRecord is {int x, ...}
function getField(OpenRecord r) -> int:
if r is {int x}:
return r.x
else:
if r is {int y, int x}:
return r.x + r.y
else:
return -r.x
There is currently a bug related to type testing against open records. The following from
OpenRecord_Valid_4
illustrates:This is translated as:
We can see that the test is not sufficient because it's not checking the number of fields.
The text was updated successfully, but these errors were encountered: