TraceBasedErrorReporter converted to Kotlin and [data] added to AbiVersionErrorData

This commit is contained in:
Andrey Breslav
2015-03-06 18:42:09 +03:00
parent 3146b7e1b0
commit 704eea2eac
2 changed files with 36 additions and 63 deletions
@@ -153,9 +153,9 @@ public final class AnalyzerWithCompilerReport {
assert data != null;
String path = toSystemDependentName(kotlinClass);
messageCollectorWrapper.report(CompilerMessageSeverity.ERROR,
"Class '" + JvmClassName.byClassId(data.classId) +
"Class '" + JvmClassName.byClassId(data.getClassId()) +
"' was compiled with an incompatible version of Kotlin. " +
"Its ABI version is " + data.actualVersion + ", expected ABI version is " + JvmAbi.VERSION,
"Its ABI version is " + data.getActualVersion() + ", expected ABI version is " + JvmAbi.VERSION,
CompilerMessageLocation.create(path, 0, 0));
}
}