This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160820 - Rename doesn't work if val is lazy
Summary: Rename doesn't work if val is lazy
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL: http://itls.usu.edu/~dholton/pulpcore...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 16:53 UTC by dug
Modified: 2009-03-22 16:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dug 2009-03-22 16:53:37 UTC
If I have:

val somevar = ...

I can right-click and rename somevar just fine.

But if I have:

lazy val somevar = ...

Then if I right-click and select rename, it doesn't rename any of the other references.

I have a sample netbeans project here that uses lazy val's:
http://itls.usu.edu/~dholton/pulpcore/Scala-PulpCore-Netbeans.zip

The code that uses lazy vals is also under the applet on this page:  ('kid' and 'success')
http://itls.usu.edu/~dholton/pulpcore/scala/