diff options
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r-- | src/parser/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index c94e39748..1481d66fe 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -583,7 +583,7 @@ api::Term Parser::applyTypeAscription(api::Term t, api::Sort s) // lookup by name api::DatatypeConstructor dc = d.getConstructor(t.toString()); // ask the constructor for the specialized constructor term - t = dc.getSpecializedConstructorTerm(s); + t = dc.getInstantiatedConstructorTerm(s); } // the type of t does not match the sort s by design (constructor type // vs datatype type), thus we use an alternative check here. |