As above code, I want to pass only one generic type parameter like number.on<Int> { }.
But, compiler complains the error like attached picture. I think, In above code, complier may know type T because number is Number as receiver of onfunction. but it's doesn't.
Is there any solutions?
