Skip to content

Abstract given seems useless #10954

Closed
Closed
@rjolly

Description

@rjolly

Abstract given were introduced in #10538 . But these seem useless, as one can always define an abstract field and use a given alias:

def ord: Ord[T]
given Ord[T] = ord

Would it be possible to drop this feature, as it forces us to add an uncanny with to givens even when no structural part is needed lampepfl/dotty-feature-requests#156

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions