going to the definition doesn't work
One of the students reported this to me, but he couldn't reproduce it for me. But I hit it today myself while working on the compiler.
ctr+click on makeFor in TreeBuilder.scala doesn't redirect you to makeFor/4 but to makeFor/2 (with two parameters) i.e. the same function.
Exact code:
/** Create tree for for-do comprehension */
def makeFor(enums: List[Enumerator], body: Tree): Tree =
makeFor(nme.foreach, nme.foreach, enums, body)
ctr+click on makeFor in TreeBuilder.scala doesn't redirect you to makeFor/4 but to makeFor/2 (with two parameters) i.e. the same function.
Exact code:
/** Create tree for for-do comprehension */
def makeFor(enums: List[Enumerator], body: Tree): Tree =
makeFor(nme.foreach, nme.foreach, enums, body)
Leave a comment
on 2011-03-07 20:48 *
By Hubert Plociniczak
<p>Yes. That's what Martin also suggested. Seems like a duplicate of #16 (I mean, the same cause as there is no reload on opening the buffer) => closing.</p>
on 2011-03-07 20:49 *
By Hubert Plociniczak
<p>duplicate of #16</p>