Skip to content

Commit

Permalink
More fixes for stupid validations
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Feb 22, 2024
1 parent ee81546 commit 7a9e6b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/shared/src/main/scala-2/fabric/rw/RWMacros.scala
Expand Up @@ -116,10 +116,12 @@ object RWMacros {
case m: MethodSymbol if m.name.toString.matches(DefaultRegexString) =>
m.name.toString match {
case DefaultRegex(position) => (position.toInt - 1) -> m
case s => throw new UnsupportedOperationException(s"Unable to parse: $s")
}
case m: MethodSymbol if m.name.toString.matches(Default211RegexString) =>
m.name.toString match {
case Default211Regex(position) => (position.toInt - 1) -> m
case s => throw new UnsupportedOperationException(s"Unable to parse: $s")
}
}.toMap
}
Expand Down

0 comments on commit 7a9e6b6

Please sign in to comment.