You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by jr...@apache.org on 2022/11/03 11:23:38 UTC
[incubator-pekko-http] 08/47: parsing: Scala 3 pre213 / since213 annotations (without function)
This is an automated email from the ASF dual-hosted git repository.
jrudolph pushed a commit to branch scala-3
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
commit fee4a47755c75c34a494d052a51077bf069efd62
Author: Johannes Rudolph <jo...@gmail.com>
AuthorDate: Thu Sep 9 12:11:23 2021 +0200
parsing: Scala 3 pre213 / since213 annotations (without function)
---
.../{scala => scala-2}/akka/http/ccompat/pre213macro.scala | 0
.../{scala => scala-2}/akka/http/ccompat/since213macro.scala | 0
.../src/main/scala-3/akka/http/ccompat/pre213macro.scala | 10 ++++++++++
.../src/main/scala-3/akka/http/ccompat/since213macro.scala | 9 +++++++++
4 files changed, 19 insertions(+)
diff --git a/akka-parsing/src/main/scala/akka/http/ccompat/pre213macro.scala b/akka-parsing/src/main/scala-2/akka/http/ccompat/pre213macro.scala
similarity index 100%
rename from akka-parsing/src/main/scala/akka/http/ccompat/pre213macro.scala
rename to akka-parsing/src/main/scala-2/akka/http/ccompat/pre213macro.scala
diff --git a/akka-parsing/src/main/scala/akka/http/ccompat/since213macro.scala b/akka-parsing/src/main/scala-2/akka/http/ccompat/since213macro.scala
similarity index 100%
rename from akka-parsing/src/main/scala/akka/http/ccompat/since213macro.scala
rename to akka-parsing/src/main/scala-2/akka/http/ccompat/since213macro.scala
diff --git a/akka-parsing/src/main/scala-3/akka/http/ccompat/pre213macro.scala b/akka-parsing/src/main/scala-3/akka/http/ccompat/pre213macro.scala
new file mode 100644
index 000000000..91d936c01
--- /dev/null
+++ b/akka-parsing/src/main/scala-3/akka/http/ccompat/pre213macro.scala
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2019-2021 Lightbend Inc. <https://www.lightbend.com>
+ */
+
+package akka.http.ccompat
+
+import scala.annotation.StaticAnnotation
+
+// FIXME: need to implement or we will resurrect some ugly things (or remove 2.12 support)
+class pre213 extends StaticAnnotation
diff --git a/akka-parsing/src/main/scala-3/akka/http/ccompat/since213macro.scala b/akka-parsing/src/main/scala-3/akka/http/ccompat/since213macro.scala
new file mode 100644
index 000000000..5dc84ee15
--- /dev/null
+++ b/akka-parsing/src/main/scala-3/akka/http/ccompat/since213macro.scala
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2019-2021 Lightbend Inc. <https://www.lightbend.com>
+ */
+
+package akka.http.ccompat
+
+import scala.annotation.StaticAnnotation
+
+class since213 extends StaticAnnotation
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org