[VISUALIZER] Render original symbols/descriptors in fir/psi
This commit is contained in:
committed by
TeamCityServer
parent
869585870d
commit
e19514f1dc
+3
-2
@@ -45,8 +45,9 @@ class SomeClass(multiplier: Int?) {
|
||||
// Int
|
||||
// │
|
||||
get() contract [returnsNotNull()] = 1
|
||||
// Int [ERROR: unknown type]
|
||||
// │ │
|
||||
// EQ operator call
|
||||
// Int │ [ERROR: unknown type]
|
||||
// │ │ │
|
||||
set(value) contract [returns() implies (value != null)] {
|
||||
// SomeClass.<set-someInt>.value: Int
|
||||
// │ [ERROR: not resolved]
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
// FIR_IGNORE
|
||||
// new contracts syntax for simple functions
|
||||
// [ERROR : MyClass]? [ERROR: unknown type] [ERROR: unknown type]
|
||||
// │ │ │
|
||||
// EQ operator call
|
||||
// [ERROR : MyClass]? │ [ERROR: unknown type] [ERROR: unknown type]
|
||||
// │ │ │ │
|
||||
fun test1(s: MyClass?) contract [returns() implies (s != null), returns() implies (s is MySubClass)] {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
|
||||
Reference in New Issue
Block a user