In a Scala project, I created a package named recursion and a worksheet Recursion.sc (attached)
The Scala IDE tags the @tailrec annotation as an error:
Description Resource Path Location Type
expected start of definition Recursion.sc /ProgFun/src/recursion line 4 Scala Problem
This work fine in .scala source files.
I'm using 3.0.0-vfinal-20130320-1624-Typesafe (for the Coursera course) and Eclipse SDK Version: 3.7.2
No file chosen
You have an empty file field. Please select or remove it.
Add people from your team or external to follow ticket activity
Followers will receive email updates about new ticket activity or emails sent to email@example.com