PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
57 stars 35 forks source link

Allows composing IgnoringParsers with a plus operator without Kotlin compiler complaining about ambiguous method overloading. #7059

Closed copybara-service[bot] closed 3 years ago

copybara-service[bot] commented 3 years ago

Allows composing IgnoringParsers with a plus operator without Kotlin compiler complaining about ambiguous method overloading.

The solution is to provide a dedicated plus operator for 2 IgnoringParsers, which is more specific than any of the other overloads.