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 a bug related to non-sequential list matching which the following excerpt from the types examples illustrates:
term Tuple[Type...]
rewrite Tuple{And{Type... xs}, Type... rest}:
=> let ys = { Tuple(x ++ rest) | x in xs }
in And(ys)
The problem is that the non-sequential match will automatically consider the type of rest as being a set --- when in fact, it should really be a list. However, it's not completely clear how to model this example correctly (since i'm just concatenating the field onto the beginning of the list rest which is clearly wrong).
The text was updated successfully, but these errors were encountered:
Thursday Sep 06, 2012 at 18:43 GMT
Originally opened as Whiley/WhileyCompiler#124
There is a bug related to non-sequential list matching which the following excerpt from the types examples illustrates:
The problem is that the non-sequential match will automatically consider the type of rest as being a set --- when in fact, it should really be a list. However, it's not completely clear how to model this example correctly (since i'm just concatenating the field onto the beginning of the list rest which is clearly wrong).
The text was updated successfully, but these errors were encountered: