kotlin-compiler: 1.1-20170412.175827-457

This commit is contained in:
Vasily Levchenko
2017-04-13 12:15:42 +03:00
committed by vvlevchenko
parent bd747b54bd
commit eadcd98740
2 changed files with 2 additions and 2 deletions
@@ -84,7 +84,7 @@ internal fun IrExpression.isNullConst() = this is IrConst<*> && this.kind == IrC
fun IrCall.usesDefaultArguments(): Boolean =
this.descriptor.valueParameters.any { this.getValueArgument(it) == null }
fun IrElement.getCompilerMessageLocation(containingFile: IrFile): CompilerMessageLocation {
fun IrElement.getCompilerMessageLocation(containingFile: IrFile): CompilerMessageLocation? {
val sourceRangeInfo = containingFile.fileEntry.getSourceRangeInfo(this.startOffset, this.endOffset)
return CompilerMessageLocation.create(
path = sourceRangeInfo.filePath,
+1 -1
View File
@@ -21,5 +21,5 @@ remoteRoot=konan_tests
#kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
testDataVersion=1009012:id
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170409.165958-449
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170412.175827-457
konanVersion=0.1