You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let parser = Parse {
Int.parser()
","
Bool.parser()
}
will result in:
Building for debugging...
~/Project/Parser.swift:6:5: error: ambiguous use of 'buildExpression'
Int.parser()
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:533:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P)
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:544:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P) -> P
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
~/Project/Parser.swift:6:5: error: ambiguous use of 'buildExpression'
Int.parser()
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:533:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P)
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:544:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P) -> P
^
~/Project/Parser.swift:6:5: error: ambiguous use of 'buildExpression'
Int.parser()
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:533:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P)
^
/Users/oliver/Projects/personal/swift/plan.swift/.build/checkouts/swift-parsing/Sources/Parsing/Builders/ParserBuilder.swift:544:22: note: found this candidate
public static func buildExpression<P: Parser>(_ expression: P) -> P
Totally a possibility that I am missing something as I am a beginner Swift programmer, but the example on https://pointfreeco.github.io/swift-parsing/main/documentation/parsing/gettingstarted/
won't compile
will result in:
I guess this is possibly connected to #309 ?
The text was updated successfully, but these errors were encountered: