Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit d408ed3

Browse files
committed
add sources
1 parent 635992d commit d408ed3

File tree

8 files changed

+64
-0
lines changed

8 files changed

+64
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 10
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
include:
13+
- scala: 2.12.13
14+
- scala: 2.13.4
15+
- scala: 3.0.0-RC1
16+
- scala: 3.0.0-RC2-bin-20210219-aa7c21e-NIGHTLY
17+
steps:
18+
- uses: actions/[email protected]
19+
- uses: olafurpg/setup-scala@v10
20+
with:
21+
java-version: "[email protected]"
22+
- uses: coursier/cache-action@v5
23+
- run: sbt -v "++ ${{matrix.scala}}!" compile

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org>

README.md

Whitespace-only changes.

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scalaVersion := "3.0.0-RC1"

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.4.7

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.3")

src/main/scala/A.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import static java.lang.annotation.ElementType.TYPE_USE;
2+
import static java.lang.annotation.RetentionPolicy.RUNTIME;
3+
import java.lang.annotation.Target;
4+
import java.lang.annotation.Retention;
5+
import java.util.List;
6+
7+
@Target({ TYPE_USE })
8+
@Retention(RUNTIME)
9+
@interface NotNull {}
10+
11+
interface A {
12+
public List<@NotNull String> x();
13+
}

src/main/scala/B.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
class B

0 commit comments

Comments
 (0)