Hyperlinking not working in constructor default values
Hyperlinking is broken for default parameters of classes (it works well for methods):
If you try to hyperlink on the second Map, you will be taken to the symbol for 'x').
class Foo(x: Map[String, String] = Map())
If you try to hyperlink on the second Map, you will be taken to the symbol for 'x').
Leave a comment
on 2011-10-08 10:28 *
By Iulian Dragos
Description changed from Hyperlinking is broken for ... to Hyperlinking is broken for ...
file:dRgIim8Qer4kaVacwqjQXA: PC test.
I've created a simple test for this issue that demonstrates the problem in the presentation compiler. This is the result that is currently produced when running the attached test:
Once this ticket is fixed, the provided test should be added to the compiler regression suite.
I've created a simple test for this issue that demonstrates the problem in the presentation compiler. This is the result that is currently produced when running the attached test:
Mircos-MacBook-Pro:test mirco$ ./partest files/presentation/ide-t1000655 --show-log
Testing individual files
scala.tools.nsc.interactive.ShutdownReq$
testing: [...]/files/presentation/ide-t1000655 [FAILED]
reload: NoHyperlinkingOnConstructorDefaultParmams.scala
askHyperlinkPos for `x` at (2,26) NoHyperlinkingOnConstructorDefaultParmams.scala
================================================================================
[response] found askHyperlinkPos for `x` at (2,11) NoHyperlinkingOnConstructorDefaultParmams.scala
================================================================================
[NoHyperlinkingOnConstructorDefaultParmams.scala]: exception during background compile: scala.tools.nsc.interactive.ShutdownReq$
Once this ticket is fixed, the provided test should be added to the compiler regression suite.
on 2012-10-10 14:32 *
By Mirco Dotta
Version changed from 2.0.0-beta11-29 to 2.0.2-final-29
Eclipse version changed from Helios to All
Milestone changed from Helium to Backlog
on 2015-03-12 23:20 *
By Simon Schäfer
Version changed from 2.0.2-final-29 to 4.0.0
Assigned to changed from Iulian Dragos to -none-
Status changed from New to Fixed
Seems to be fixed.