Skip to content

Implicit arguments lead to java.lang.StackOverflowError in the scalac 2.12.2 #10421

@martinberger

Description

@martinberger

Here is a short program that crashes the scala compiler (version 2.12.2) with a java.lang.StackOverflowError.

   object Main {
     def f ( implicit x : Int ) : Unit = {}
     def g () : Unit = { f _ }
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions