Commit f9c0614
committed
Fix pickling positions problem
Make parameter definitions in DefDef have the same span as the symbols
they define. Previously, this position was not set, which means it would
be set pretty much in an ad-hoc way based on the positions that were set
in the definitions environment. For some reason I cannot quite reconstruct,
the changes to opaque caused pos/exports.scala to fail pickling tests
because an extension parameter symbol symbol a different position after
pickling.1 parent 2385352 commit f9c0614
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
| |||
0 commit comments