From 5f25f8888820fa472703b9f232603c5decdd48a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Bra=C4=8Devac?= Date: Fri, 29 Nov 2024 16:27:33 +0100 Subject: [PATCH 1/2] [CI] trigger library tests on cc changes Changes to the capture checker should automatically trigger the scala2 library test. --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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' From 03b8368f46360746ac3c15259fb189c7d0bc8130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Bra=C4=8Devac?= Date: Fri, 29 Nov 2024 16:33:48 +0100 Subject: [PATCH 2/2] dummy change --- compiler/src/dotty/tools/dotc/cc/CaptureSet.scala | 1 + 1 file changed, 1 insertion(+) 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