-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
/// Wrapper type for a named tuple element.
public struct N<Name, Type> {
public var value: Type
public memberwise init
public static fun create<K where K == Name>(value: sink Type) -> N<Name, Type> {
N<Name, Type>(value: value)
}
}
given<Name, U is Deinitializable> N<Name, U> is Deinitializable {
}
given<Name, TU is Movable> N<Name, TU> is Movable { // renaming TU fails to apply edits
}
Interestingly, go to declaration works from right TU to left TU, but find references doesn't find anything.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels