summaryrefslogtreecommitdiff
path: root/src/parser/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r--src/parser/parser.cpp2
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.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback