Skip to content

Commit

Permalink
Fix kotlin-reflect problem for idea plugin (#3107)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbosch committed Sep 27, 2020
1 parent 94b5219 commit 8c7d678
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ class CommaSeparatedPattern(
delimiters: String = ","
) : SplitPattern(text, delimiters, false) {

fun mapToRegex(): Set<Regex> = mapAll(::Regex).toSet()
fun mapToRegex(): Set<Regex> = mapAll { it.toRegex() }.toSet()
}

0 comments on commit 8c7d678

Please sign in to comment.