AA: fix expected type for lambda with explicit label

This commit is contained in:
Jinseong Jeon
2022-10-13 22:51:33 -07:00
committed by Ilya Kirillov
parent b29309478e
commit 14213ddad2
10 changed files with 67 additions and 3 deletions
@@ -0,0 +1 @@
val baz = java.lang.Runnable l@{<caret> return@l }
@@ -0,0 +1,2 @@
expression: { return@l }
expected type: java/lang/Runnable
@@ -0,0 +1 @@
val baz = java.lang.Runnable {<caret> return@Runnable }
@@ -0,0 +1,2 @@
expression: { return@Runnable }
expected type: java/lang/Runnable