Skip to content

Conversation

@krishnangovindraj
Copy link
Member

Goal

Adds an example with the insert $owner has attr-type == $value;

Comment on lines 53 to 55
----
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could use an explanation for why. Smth to the effect of insert $x has T $t; is equivalent to insert $t isa T; $x has $t; vs insert $_temp isa T; $_temp == $val; $x has $_temp; in the correct version.

@flyingsilverfin
Copy link
Member

Wouldn't it be unambiguous to allow insert $owner has attr-type $value, where $value holds a primitive? And we can error when it's an attribute type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants