[Analysis API] Support non-JVM platforms in code fragments
The 'evalJs' test is not available, as there is no proper support for klib loading in non-standalone Analysis API yet. ^KT-64197 Fixed
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
eval("node")
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// TARGET_PLATFORM: JVM
|
||||
|
||||
fun foo(node: kotlinx.dom.Node) {
|
||||
<caret>check(node.isElement)
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
Diagnostics from elements:
|
||||
for PSI element of type KtNameReferenceExpression at (1,1-5)
|
||||
UNRESOLVED_REFERENCE text ranges: [(0,4)]
|
||||
PSI: KtNameReferenceExpression at (1,1-5)
|
||||
+1
@@ -0,0 +1 @@
|
||||
eval("node")
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// TARGET_PLATFORM: JVM, JS
|
||||
|
||||
fun foo(node: kotlinx.dom.Node) {
|
||||
<caret>check(node.isElement)
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
Diagnostics from elements:
|
||||
for PSI element of type KtNameReferenceExpression at (1,1-5)
|
||||
UNRESOLVED_REFERENCE text ranges: [(0,4)]
|
||||
PSI: KtNameReferenceExpression at (1,1-5)
|
||||
Reference in New Issue
Block a user