Adjust project code to new labels syntax
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ public class LazyJavaPackageFragmentProvider(
|
||||
else null
|
||||
}
|
||||
|
||||
private val topLevelClasses = c.storageManager.createMemoizedFunctionWithNullableValues @lambda {
|
||||
private val topLevelClasses = c.storageManager.createMemoizedFunctionWithNullableValues lambda@ {
|
||||
jClass: JavaClass ->
|
||||
val fqName = jClass.getFqName()
|
||||
if (fqName == null) return@lambda null
|
||||
|
||||
+1
-1
@@ -268,7 +268,7 @@ class LazyJavaTypeResolver(
|
||||
return (descriptor as ClassDescriptor).getMemberScope(getArguments())
|
||||
}
|
||||
|
||||
private val nullable = c.storageManager.createLazyValue @l {
|
||||
private val nullable = c.storageManager.createLazyValue l@ {
|
||||
when (attr.flexibility) {
|
||||
FLEXIBLE_LOWER_BOUND -> return@l false
|
||||
FLEXIBLE_UPPER_BOUND -> return@l true
|
||||
|
||||
Reference in New Issue
Block a user