Replies: 1 comment
-
Hi @philipbel, this is just an unfortunate consequence of trying to support a succinct initialization syntax (e.g. But at the end of the day you can always disambiguate by just using the more verbose swift-tagged/Sources/Tagged/Tagged.swift Lines 5 to 7 in 8ce7c8c There is also chance using But since this isn't really an issue with the library I am going to convert it to a discussion. please feel free to continue the conversation over there. |
Beta Was this translation helpful? Give feedback.
-
Consider the following:
Compiler complains that the
MyString.init()
call is ambiguous. I would expect this to just work, since I am passing aString
whereRawValue == String
.And indeed, from
Tagged.swift
:Beta Was this translation helpful? Give feedback.
All reactions