Remove '.' after nullary tags in patterns
Does what it says on the tin. The next commit will remove support for this syntax.
This commit is contained in:
@@ -48,7 +48,7 @@ tag t<T> {
|
||||
|
||||
resource dtor_res(dtor: option::t<fn@()>) {
|
||||
alt dtor {
|
||||
option::none. { }
|
||||
option::none { }
|
||||
option::some(f) { f(); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user