AA: fix expected type for lambda with explicit label
This commit is contained in:
committed by
Ilya Kirillov
parent
b29309478e
commit
14213ddad2
+1
@@ -0,0 +1 @@
|
||||
val baz = java.lang.Runnable l@{<caret> return@l }
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
expression: { return@l }
|
||||
expected type: java/lang/Runnable
|
||||
+1
@@ -0,0 +1 @@
|
||||
val baz = java.lang.Runnable {<caret> return@Runnable }
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
expression: { return@Runnable }
|
||||
expected type: java/lang/Runnable
|
||||
Reference in New Issue
Block a user