mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
If the libraries are not loaded, they will be added to the project right from the highlighting pass. This will trigger WA, which cancels current highlighting and restarts it at some point in the future. Test may check the state before the highlighting is restarted (this will be the test failure), ot after it is restarted (test pass). This commit eliminates the highlighting restart GitOrigin-RevId: a79d699dca94f5eac2690160ca87c2f576636c28
10 lines
326 B
Java
10 lines
326 B
Java
// ALLOW_DOC_CHANGE (project model is updated since the injected snippet is teated as a script)
|
|
// LOAD_SCRIPT_DEFINITIONS
|
|
public class KotlinInJavaInjection {
|
|
public void inject() {
|
|
String kotlin =
|
|
// language=kotlin
|
|
"<inject descr="null">fun test() {}</inject>";
|
|
}
|
|
}
|
|
// NO_CHECK_INFOS |