summaryrefslogtreecommitdiff
path: root/Test/dafny0/Trait/TraitPolymorphism.dfy.expect
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/Trait/TraitPolymorphism.dfy.expect')
-rw-r--r--Test/dafny0/Trait/TraitPolymorphism.dfy.expect4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/dafny0/Trait/TraitPolymorphism.dfy.expect b/Test/dafny0/Trait/TraitPolymorphism.dfy.expect
new file mode 100644
index 00000000..8c68b4b9
--- /dev/null
+++ b/Test/dafny0/Trait/TraitPolymorphism.dfy.expect
@@ -0,0 +1,4 @@
+TraitPolymorphism.dfy(56,10): Error: arguments must have the same type (got C1 and T2)
+TraitPolymorphism.dfy(58,6): Error: RHS (of type C1) not assignable to LHS (of type T2)
+TraitPolymorphism.dfy(64,4): Error: LHS of assignment must denote a mutable variable
+3 resolution/type errors detected in TraitPolymorphism.dfy