Proper type for default parameters

This commit is contained in:
Michael Bogdanov
2016-09-30 17:05:25 +03:00
committed by Dmitry Petrov
parent e40c434c57
commit 03ebf06cf8
@@ -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()