Skip to content

Commit 5edb560

Browse files
authored
Update package.scala
.
1 parent 77a2fd0 commit 5edb560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fastparse/src-3/fastparse/package.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ package object fastparse extends fastparse.SharedPackageDefs {
4141
/**
4242
* Used by for-comprehensions.
4343
*/
44-
inline def withFilter(f: T => Boolean)(using ctx: P[Any]): P[T] = filter(f)
44+
inline def withFilter(f: T => Boolean)(using ctx: P[Any]): P[T] =
45+
MacroInlineImpls.filterInline[T](parse0)(f)(ctx)
4546

4647
/** Either-or operator: tries to parse the left-hand-side, and if that
4748
* fails it backtracks and tries to pass the right-hand-side. Can be

0 commit comments

Comments
 (0)