You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observations:
Catching the value returned by the last line of the function getAncestor "if (c == p) p else c.b.getAncestor(c)" in a val and returning the val from the function allows the code fragment to compile successfully.
The text was updated successfully, but these errors were encountered:
@paulp said:
(In r21599) Improved @tailrec error messages to specify the reason.
In the process fixed old bug involving tail call transformation.
Closes #3275, #2018. Review by dragos.
Compiler internal errors reported when compiling the following code fragment:
Compiler was 2.7.4-final on vista.
Build / Run env was IntelliJ IDEA 8.1.2 with scala plugin 0.2.24468
The following compiler output was produced:
Observations:
Catching the value returned by the last line of the function getAncestor "if (c == p) p else c.b.getAncestor(c)" in a val and returning the val from the function allows the code fragment to compile successfully.
The text was updated successfully, but these errors were encountered: