Skip to content

Commit af825bd

Browse files
committed
Remove dead code
1 parent c3528c7 commit af825bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/core/TypeOps.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,6 @@ trait TypeOps { thisCtx: Context => // TODO: Make standalone object.
468468
/** Are we in an inline method body? */
469469
def inInlineMethod: Boolean = owner.ownersIterator.exists(_.isInlineMethod)
470470

471-
/** Are we in a macro? */
472-
def inMacro: Boolean = owner.ownersIterator.exists(s => s.isInlineMethod && s.is(Macro))
473-
474471
/** Refine child based on parent
475472
*
476473
* In child class definition, we have:

0 commit comments

Comments
 (0)