Update Analysis/src/TypeInfer.cpp

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
JohnnyMorganz 2022-11-28 13:09:42 +00:00 committed by GitHub
parent 54aa72ce47
commit 6edcd7820c
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1732,7 +1732,7 @@ void TypeChecker::check(const ScopePtr& scope, const AstStatDeclareClass& declar
// This class definition must have been `prototype()`d first.
if (!binding)
ice("Not predeclared");
ice("Class not predeclared");
TypeId classTy = binding->type;
ClassTypeVar* ctv = getMutable<ClassTypeVar>(classTy);