Skip to content

Commit c504967

Browse files
committed
Disable optimzation
1 parent dd9dbf4 commit c504967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/tpd.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
10991099
*/
11001100
inline def mapInline(inline op: Tree => Tree): List[Tree] =
11011101
def recur(trees: List[Tree], count: Int): List[Tree] =
1102-
if count > MapRecursionLimit then
1102+
if true || count > MapRecursionLimit then
11031103
// use a slower implementation that avoids stack overflows
11041104
flatten(trees.mapConserve(op))
11051105
else trees match

0 commit comments

Comments
 (0)