bradhowes / swift-math-parser

Math expression parser built with Point•Free's swift-parsing package

Home Page:https://bradhowes.github.io/swift-math-parser/documentation/mathparser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ambiguous use of 'init()'

davidhenze opened this issue · comments

Updated Xcode from 14.2 to 14.3 and now it is giving a warning "Ambiguous use of 'init()'" for line 316 of MathParser.swift ("End()" is highlighted):

/// Parser for a math expression. Checks that there is nothing remaining to be parsed.
  private lazy var expression = Parse {
    additionAndSubtraction
    ignoreSpaces
    End()
  }

Thanks for the heads-up. I've pushed a fix.