diff options
author | Maxime Kjaer <maxime.kjaer@gmail.com> | 2021-03-01 11:39:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 11:39:20 +0100 |
commit | 37113b095ee9a445187a8478589010347b7a9687 (patch) | |
tree | 29538f8314345a1a4bcb62406dd58b336107f0a2 /tests/examplefiles/scala/using.scala | |
parent | c1a0d82acbe6fa026a1f6843fee00cc1df626549 (diff) | |
download | pygments-git-37113b095ee9a445187a8478589010347b7a9687.tar.gz |
Rewrite Scala lexer for Scala 3 (#1694)
Diffstat (limited to 'tests/examplefiles/scala/using.scala')
-rw-r--r-- | tests/examplefiles/scala/using.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examplefiles/scala/using.scala b/tests/examplefiles/scala/using.scala new file mode 100644 index 00000000..e40d49f3 --- /dev/null +++ b/tests/examplefiles/scala/using.scala @@ -0,0 +1,9 @@ +def f(using x: Int): Unit = () +f(using 2) +f(using .2) +class A(using x: Int) +new A(using 3) +f(using ()) +f(using {}) +f(using ' ') +f(using "") |