[LL FIR] support parameters resolution
Script parameters now can be resolved independently of the script. But, as parameters are part of the script, their resolve will be called before the script. ^KT-66276 Fixed
This commit is contained in:
committed by
Space Team
parent
150af66b55
commit
d5cfea330b
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// SCRIPT_PROVIDED_PROPERTIES: prop1: kotlin.String, prop2: java.io.File
|
||||
// MUTE_LL_FIR: KT-66276
|
||||
|
||||
val rv = args[1] + prop1 + prop2.path
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// SCRIPT_PROVIDED_PROPERTIES: prop1: kotlin.String
|
||||
// MUTE_LL_FIR: KT-66276
|
||||
|
||||
val prop1 = 42 // TODO: Error should be reported on this shadowing, see KT-65809
|
||||
|
||||
|
||||
Reference in New Issue
Block a user