Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

remove limitation: two or more overloaded variants of method have default arguments #125

Open
hsn10 opened this issue Jun 13, 2020 · 0 comments

Comments

@hsn10
Copy link

hsn10 commented Jun 13, 2020

remove limitation: two or more overloaded variants of method have default arguments

so we can have code like this

class T1() {
  def f(a: Int, b: Char) = {}
  def f(a: Int, b: String, c: String = "pepa") = {}
  def f(a: String, b: String, c:String = "karel") = {}
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant