Join Slack
Powered by
<@U3D0A5GP9> I had no idea so I tried. Apparently,...
# getting-started
c
cedric
01/28/2017, 5:37 PM
@poohbar
I had no idea so I tried. Apparently, the compiler lets you create that constructor but you can't really use it:
Copy code
class A() {} fun A.A(n: Int) = A() fun f() { A(3) // error }
2
Views
Open in Slack
Previous
Next