@@ -66,22 +66,22 @@ class LocalVariableDecl extends @localvar, LocalScopeVariable {
6666/** A formal parameter of a callable. */
6767class Parameter extends Element , @param, LocalScopeVariable {
6868 /** Gets the type of this formal parameter. */
69- override Type getType ( ) { params ( this , result , _, _, _, _ ) }
69+ override Type getType ( ) { params ( this , result , _, _, _) }
7070
7171 /** Gets the Kotlin type of this formal parameter. */
72- override KotlinType getKotlinType ( ) { params ( this , _ , result , _ , _ , _ ) }
72+ override KotlinType getKotlinType ( ) { paramsKotlinType ( this , result ) }
7373
7474 /** Holds if the parameter is never assigned a value in the body of the callable. */
7575 predicate isEffectivelyFinal ( ) { not exists ( this .getAnAssignedValue ( ) ) }
7676
7777 /** Gets the (zero-based) index of this formal parameter. */
78- int getPosition ( ) { params ( this , _, _ , result , _, _) }
78+ int getPosition ( ) { params ( this , _, result , _, _) }
7979
8080 /** Gets the callable that declares this formal parameter. */
81- override Callable getCallable ( ) { params ( this , _, _, _ , result , _) }
81+ override Callable getCallable ( ) { params ( this , _, _, result , _) }
8282
8383 /** Gets the source declaration of this formal parameter. */
84- Parameter getSourceDeclaration ( ) { params ( this , _, _, _, _ , result ) }
84+ Parameter getSourceDeclaration ( ) { params ( this , _, _, _, result ) }
8585
8686 /** Holds if this formal parameter is the same as its source declaration. */
8787 predicate isSourceDeclaration ( ) { this .getSourceDeclaration ( ) = this }
0 commit comments