We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 67d4b21 commit 3b752a3Copy full SHA for 3b752a3
src/compiler/crystal/codegen/codegen.cr
@@ -1232,7 +1232,7 @@ module Crystal
1232
] of ASTNode
1233
1234
if location = node.location
1235
- pieces << StringLiteral.new(", at #{location.filename}:#{location.line_number}").at(node)
+ pieces << StringLiteral.new(", at #{location.original_location}:#{location.line_number}").at(node)
1236
end
1237
1238
ex = Call.new(Path.global("TypeCastError").at(node), "new", StringInterpolation.new(pieces).at(node)).at(node)
0 commit comments