You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[error] 12|valvalue= (newBar).bar(0) // Missing argument
[error] | ^^^^^^^^^^^^^^^^
[error] |missing argument for parameter b of method bar in objectapi: (a: Int, b: Boolean):Unit
Expectation
Hit this case when exporting extension method through a facade object api from an implementation object impl. Since exporting normal extension methods (e.g. foo) works, I would also expect the method bar to export such that it can be called omitting the second argument and having it be filled in by the default.
The text was updated successfully, but these errors were encountered:
Compiler version
3.1.0 (this also reproduces on the latest nightly as of 12/20)
Minimized code
Output
Expectation
Hit this case when exporting extension method through a facade object
api
from an implementation objectimpl
. Since exporting normal extension methods (e.g.foo
) works, I would also expect the methodbar
to export such that it can be called omitting the second argument and having it be filled in by the default.The text was updated successfully, but these errors were encountered: