Skip to content

Conversation

hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Aug 15, 2025

With the given example:

import caps.consume

import scala.language.experimental.captureChecking

class Test extends caps.Mutable:
    @consume def test(@consume x: Int)(using @consume y: Int): Unit = ()

It renders as following:

Screenshot 2025-08-15 at 16 11 05

Related to #23755

@hamzaremmal hamzaremmal force-pushed the consume-modifier-scaladoc branch from ade9f92 to 42a55e2 Compare August 15, 2025 14:31
@hamzaremmal hamzaremmal enabled auto-merge August 15, 2025 14:36
@hamzaremmal hamzaremmal changed the title chore: render @consume at the consume modifier chore: render @consume as the consume modifier Aug 15, 2025
@hamzaremmal hamzaremmal merged commit f00c987 into scala:main Aug 16, 2025
45 checks passed
@hamzaremmal hamzaremmal deleted the consume-modifier-scaladoc branch August 16, 2025 00:09
@WojciechMazur WojciechMazur modified the milestone: 3.7.4 Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants