FIR LT: Fix diagnostic location calculation on the last line
it was calculated incorrectly on the last line that do not end with EOL. #KT-56649 fixed
This commit is contained in:
committed by
Space Team
parent
d120d83d60
commit
e39eb62e6e
@@ -442,6 +442,16 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/firError.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firErrorOnLastLine.args")
|
||||
public void testFirErrorOnLastLine() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firErrorOnLastLine.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firErrorOnLastLineNoEol.args")
|
||||
public void testFirErrorOnLastLineNoEol() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firErrorOnLastLineNoEol.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firHello.args")
|
||||
public void testFirHello() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firHello.args");
|
||||
@@ -492,6 +502,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/firStdlibDependency.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firSyntaxError.args")
|
||||
public void testFirSyntaxError() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firSyntaxError.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firVsClassicAnnotation.args")
|
||||
public void testFirVsClassicAnnotation() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firVsClassicAnnotation.args");
|
||||
|
||||
Reference in New Issue
Block a user