diff --git a/src/StandardLibrary/StandardLibrary.dfy b/src/StandardLibrary/StandardLibrary.dfy index b67299ac6..d531c23f2 100644 --- a/src/StandardLibrary/StandardLibrary.dfy +++ b/src/StandardLibrary/StandardLibrary.dfy @@ -4,7 +4,7 @@ module {:extern "STL"} StandardLibrary { import opened U = UInt // TODO: Depend on types defined in dafny-lang/libraries instead - datatype Option = None | Some(get: T) + datatype Option<+T> = None | Some(get: T) { function method ToResult(): Result { match this