Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.7.0.Release
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
def doThat(fun) {
File a = new File("That's a test")
fun();
}
def x = doThat {
File b = new File("That's a test")
}
doThat {
File c = new File("That's a test")
}
Outline will show:
- doThat
- x
- b
- c
All at the same level.
Yet it doesn't show 'a' at all.
Arguably we don't want to show b and c at all.
(Or if we do show it, it should be nested under something, e.g. 'b' could be nested under 'x'.)
Trivial fix committed.