I have a function in my main sourceSet `fun foo(on...
# compiler
h
I have a function in my main sourceSet
fun foo(one: Int, two: Int = 2)
and I want to create another function that has the same default value for
two
from.`foo`:
fun foo(one: Int = 1, two: Int = 2) = foo(one = one, two = two)
in my test sourceSet. Is this possible due to the different compilations?
j
As the test source set has access to the implementation configuration you can use symbol provider from
session
to find the original function.
thank you color 1