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 salient difference is just that the current object keyword is replaced with the struct type name. This may also permit some refactoring of how we're type-checking the struct literal: we can type-check the contents (check the provided keys and values against the struct type definition) sooner since we know what the intended struct type is.
The text was updated successfully, but these errors were encountered:
New struct literal syntax similar to the old `object` syntax, but replaces the `object` keyword with the intended struct type name. This allows earlier static typechecking of the struct members, where before we waited until coercing the object to a struct decl. (The `object` syntax remains valid.)
Some tedious surgery was involved to make declared struct types available to `Expr` typechecking logic, where before they'd only been needed in `Tree`.
#113openwdl/wdl#297
https://github.com/openwdl/wdl/pull/297/files
The salient difference is just that the current
object
keyword is replaced with the struct type name. This may also permit some refactoring of how we're type-checking the struct literal: we can type-check the contents (check the provided keys and values against the struct type definition) sooner since we know what the intended struct type is.The text was updated successfully, but these errors were encountered: