Remove compile for test in KtCompiler

This commit is contained in:
abosch
2016-12-05 14:58:56 +01:00
parent 3cd4c33292
commit d31a9232fc

View File

@@ -35,9 +35,4 @@ open class KtCompiler(val project: Path) {
content, true, true, false, LightVirtualFile(relativePath.toString())) as KtFile
}
@Unstable(removedIn = "M4")
fun compileFromText(content: String): KtFile {
return psiFileFactory.createFileFromText(KotlinLanguage.INSTANCE, content) as KtFile
}
}