Commit 075f607
committed
Clear memoized method/attribute caches on re-parse
After clearing methods and attributes from a file in
clear_file_contributions, the memoized lists (@instance_methods,
@class_method_list, @instance_attributes, @class_attributes) still
held stale data, causing the sidebar navigation to show outdated
entries when methods were added or removed.1 parent ecd479f commit 075f607
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
237 | 243 | | |
238 | 244 | | |
239 | 245 | | |
| |||
0 commit comments