@swift-ci smoke test
35 | 35 | } | |
36 | precondition(type.isNominal, "non-copyable non-nominal types not supported, yet") | ||
36 | |||
37 | if !type.isNominal { | ||
38 | // E.g. a non-copyable generic function parameter |
This comment confuses me. Is a Copyable generic parameter “nominal”?
I mean, e.g. func foo<T: ~Copyable>(_ t: T)
. T is not copyable and not a nominal type
Login to write a write a comment.
rdar://129980818