[SR-4466] Extra arguments error for valid call to max #47043
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Environment
Xcode 8.2.1
Additional Detail from JIRA
md5: 46cf44f1674013a639ea99778a24e799
Issue Description:
I get an extra arguments error for a valid call to max. I have tried isolating the code to a playground and it works fine. So, it has something to do with this whole struct, I guess.
The code I'm trying to add is the following:
This is a link to the file I'm trying to modify at the top of the struct: https://github.com/drumnkyle/music-notation-core/blob/master/Sources/Measure.swift
The text was updated successfully, but these errors were encountered: