martmists
12/08/2023, 4:04 PMcontext(Something)
@Annotation
fun myFunction() { ... }
especially with how intellij colors context
the same as other keywordss3rius
12/08/2023, 7:30 PMkirillrakhman
12/09/2023, 11:32 AM@Annotation
context(Something)
fun myFunction() { ... }
Not sure if being able to place the annotation in the middle is a bug or a feature.
Did you write the function yourself or did the IDE generate it, e.g. for an override?martmists
12/10/2023, 12:10 AMmartmists
12/10/2023, 12:11 AMkirillrakhman
12/13/2023, 12:09 PMmartmists
12/13/2023, 2:50 PMkirillrakhman
12/13/2023, 2:51 PMJavier
12/13/2023, 4:49 PMcontext
is a valid use case tooJavier
12/13/2023, 4:50 PMcontext
could break the coherence therekirillrakhman
12/13/2023, 4:51 PM