diff options
-rw-r--r-- | src/constrain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/constrain.cpp b/src/constrain.cpp index d0490bf..94a27c3 100644 --- a/src/constrain.cpp +++ b/src/constrain.cpp @@ -146,6 +146,7 @@ ADef::constrain(TEnv& tenv, Constraints& c) const throw(Error) tenv.def(sym, tvar); body()->constrain(tenv, c); c.constrain(tenv, sym, tvar); + c.constrain(tenv, this, tenv.named("Nothing")); } void |