Proper type for default parameters
This commit is contained in:
committed by
Dmitry Petrov
parent
e40c434c57
commit
03ebf06cf8
+1
-1
@@ -179,7 +179,7 @@ class ExpressionCodegen(
|
||||
gen(expression, callable.valueParameterTypes[i], data)
|
||||
}
|
||||
is DefaultArg -> {
|
||||
pushDefaultValueOnStack(callable.parameterTypes[i], mv)
|
||||
pushDefaultValueOnStack(callable.valueParameterTypes[i], mv)
|
||||
defaultMask.mark(expression.index)
|
||||
}
|
||||
else -> TODO()
|
||||
|
||||
Reference in New Issue
Block a user