Skip to content

Commit dd29079

Browse files
pmenonhzxa21
authored andcommitted
Fix error message.
1 parent 09e0d3f commit dd29079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/codegen/expression/null_check_translator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "codegen/expression/null_check_translator.h"
14+
1415
#include "codegen/type/boolean_type.h"
1516
#include "codegen/type/type_system.h"
1617
#include "expression/operator_expression.h"
@@ -36,7 +37,7 @@ Value NullCheckTranslator::DeriveValue(CodeGen &codegen,
3637
return Value{type::Boolean::Instance(), val.IsNotNull(codegen)};
3738
default: {
3839
throw Exception(
39-
"Null_check expression has invalid type for translation: " +
40+
"NullCheck expression has invalid ExpressionType: " +
4041
ExpressionTypeToString(null_check.GetExpressionType()));
4142
}
4243
}

0 commit comments

Comments
 (0)