mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
Remove compile for test in KtCompiler
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user