Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-10074

Compilation error invoking overloaded function with explicit type parameter

    Details

      Description

      Trying to compile specified file results an error:
      [error] The argument types of an anonymous function must be fully known. (SLS 8.5)
      [error] Expected type was: ?
      [error] a.overloadedF[Int]{

      If you omit type parameter in method invocation or remove second overloaded function, everything works fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                manonthegithub Kirill Yankov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: