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
The language spec doesn't clearly explain how the automatic conversion of dynamic value protos interacts with type checking and runtime selection/indexing. For instance, given the following proto definitions:
do the following expressions type check, and what do they evaluate to?
a + 3
a.int_value + 3
b.value
b.value.value
I believe that what's intended is that the first and third will execute without error yielding 10 and b'\377\377\377' respectively, while the second and fourth should fail.
The text was updated successfully, but these errors were encountered:
The language spec doesn't clearly explain how the automatic conversion of dynamic value protos interacts with type checking and runtime selection/indexing. For instance, given the following proto definitions:
and the following declarations and bindings
do the following expressions type check, and what do they evaluate to?
I believe that what's intended is that the first and third will execute without error yielding
10
andb'\377\377\377'
respectively, while the second and fourth should fail.The text was updated successfully, but these errors were encountered: