Scala Programming Language
  1. Scala Programming Language
  2. SI-5521

Constructors cannot have arguments dependent on other arguments of the same constructor

    Details

      Description

      class Foo { type Bar }
      
      class Quux(val foo: Foo)(val bar: foo.Bar)
      
      error: not found: object foo
      class Quux(val foo: Foo)(val bar: foo.Bar)
                                        ^
      one error found
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Adriaan Moors
              Reporter:
              Eugene Burmako
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development