File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2439,13 +2439,9 @@ class Reflection(private[scala] val internal: CompilerInterface) { self =>
2439
2439
2440
2440
2441
2441
// /////////////
2442
- // POSITIONS //
2442
+ // FLAGS //
2443
2443
// /////////////
2444
2444
2445
- // TODO: Should this be in the QuoteContext?
2446
- /** Root position of this tasty context. For macros it corresponds to the expansion site. */
2447
- def rootPosition : Position = internal.rootPosition
2448
-
2449
2445
extension FlagsOps on (self : Flags ) {
2450
2446
2451
2447
/** Is the given flag set a subset of this flag sets */
@@ -2572,6 +2568,11 @@ class Reflection(private[scala] val internal: CompilerInterface) { self =>
2572
2568
// POSITIONS //
2573
2569
// /////////////
2574
2570
2571
+ // TODO: Should this be in the QuoteContext?
2572
+ // TODO: rename to enclosingPosition (as in scala.reflect)
2573
+ /** Root position of this tasty context. For macros it corresponds to the expansion site. */
2574
+ def rootPosition : Position = internal.rootPosition
2575
+
2575
2576
extension positionOps on (pos : Position ) {
2576
2577
2577
2578
/** The start offset in the source file */
You can’t perform that action at this time.
0 commit comments