diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2006e16c7e8..c2ed4cc4cdae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -179,6 +179,13 @@ jobs: github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_scala2_library_tasty]') ) + || ( + github.event_name == 'pull_request' + && ( contains(github.event.pull_request.changed_files, 'scala2-library-cc/') + || contains(github.event.pull_request.changed_files, 'scala2-library-cc-tasty/') + || contains(github.event.pull_request.changed_files, 'compiler/src/dotty/tools/dotc/cc/') + ) + ) || ( github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3' diff --git a/compiler/src/dotty/tools/dotc/cc/CaptureSet.scala b/compiler/src/dotty/tools/dotc/cc/CaptureSet.scala index 5be4f6a2d1cd..573edc65a416 100644 --- a/compiler/src/dotty/tools/dotc/cc/CaptureSet.scala +++ b/compiler/src/dotty/tools/dotc/cc/CaptureSet.scala @@ -22,6 +22,7 @@ import CCState.* /** A class for capture sets. Capture sets can be constants or variables. * Capture sets support inclusion constraints <:< where <:< is subcapturing. * + * * They also allow * - mapping with functions from elements to capture sets * - filtering with predicates on elements