carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

Adds division to multiplicative expression.

Open junheecho opened this issue 3 years ago • 1 comments

  • Multiplication and division have the same priority.
  • A new builtin interface DivWith is added.
  • In some tests expecting a compilation error (syntax error), the error message now says it is expecting SLASH or binary *.

junheecho avatar Aug 22 '22 19:08 junheecho

Sorry @junheecho, to avoid getting stuck on review with @zygoloid, can you undo the last commit and we'll go with the original change? I'll address any cleanup in #2109.

jonmeow avatar Sep 06 '22 09:09 jonmeow