Uploaded image for project: '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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: