Skip to content

Commit

Permalink
Merge pull request #199 from scala-steward/update/scala3-library-3.3.1
Browse files Browse the repository at this point in the history
Update scala3-library to 3.3.1
  • Loading branch information
yanns authored Sep 10, 2023
2 parents 7d6150e + cf085b9 commit 7938a3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.18, 2.13.11, 3.3.0]
scala: [2.12.18, 2.13.11, 3.3.1]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.0]
scala: [3.3.1]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -105,12 +105,12 @@ jobs:
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0)
- name: Download target directories (3.3.1)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-3.3.0-${{ matrix.java }}
name: target-${{ matrix.os }}-3.3.1-${{ matrix.java }}

- name: Inflate target directories (3.3.0)
- name: Inflate target directories (3.3.1)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ homepage := Some(url("http://sangria-graphql.org"))
licenses := Seq(
"Apache License, ASL Version 2.0" url("http://www.apache.org/licenses/LICENSE-2.0"))

ThisBuild / crossScalaVersions := Seq("2.12.18", "2.13.11", "3.3.0")
ThisBuild / crossScalaVersions := Seq("2.12.18", "2.13.11", "3.3.1")
ThisBuild / scalaVersion := crossScalaVersions.value.last
ThisBuild / githubWorkflowPublishTargetBranches := List()
ThisBuild / githubWorkflowBuildPreamble ++= List(
Expand Down
8 changes: 0 additions & 8 deletions src/main/scala-3/sangria/visitor/VisitMacro.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import scala.annotation.meta.field

import scala.collection.mutable.{Map => MutableMap}

// Experimental feature for reading type parameters was used
import scala.annotation.experimental

object VisitMacro {
@experimental
def visitCode[T](rootNode: Expr[T], transformations: Expr[Seq[Transformer[_ <: T]]])(using
tt: Type[T])(using Quotes): Expr[T] =
new VisitMacro().visitCode[T](rootNode, transformations)
Expand Down Expand Up @@ -42,7 +38,6 @@ class VisitMacro(using val globalQuotes: Quotes) {
}.toSet
}

@experimental
def visitCode[T](rootNode: Expr[T], transformations: Expr[Seq[Transformer[_ <: T]]])(using
tt: Type[T]): Expr[T] = {
import quotes.reflect._
Expand Down Expand Up @@ -113,7 +108,6 @@ class VisitMacro(using val globalQuotes: Quotes) {
case _ => Left("does not know")
}

@experimental
def generateTraversal[T](using tpe: Type[T])(
node: Expr[T],
subclasses: Set[Symbol],
Expand Down Expand Up @@ -816,7 +810,6 @@ class VisitMacro(using val globalQuotes: Quotes) {
def transformersForType(tpe: TypeRepr, tx: Seq[MacroTransformer]) =
tx.filter(t => tpe <:< t.matchType)

@experimental
private def findMemberType(
baseType: TypeRepr,
name: String,
Expand All @@ -840,7 +833,6 @@ class VisitMacro(using val globalQuotes: Quotes) {
case '[t] => None
}

@experimental
private def findKnownMembers[T](using baseTpe: Type[T])(
symbol: Symbol,
specials: Seq[MacroVisitAnyField[?, ?]]
Expand Down

0 comments on commit 7938a3a

Please sign in to comment.