aboutsummaryrefslogtreecommitdiff
path: root/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main')
-rw-r--r--sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala44
-rw-r--r--sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala41
2 files changed, 85 insertions, 0 deletions
diff --git a/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala b/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala
new file mode 100644
index 000000000..5d1b8c4db
--- /dev/null
+++ b/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala
@@ -0,0 +1,44 @@
+package somereallylongpackagenamethatwilltestsbtsanalyzer_somereallylongpackagenamethatwilltestsbtsanalyzer.somereallylongpackagenamethatwilltestsbtsanalyzer
+
+object T
+{
+ val y = List(3)
+ for(a <- y;
+ b <- y;
+ c <- y;
+ d <- y;
+ e <- y;
+ f <- y;
+ g <- y;
+ h <- y;
+ i <- y;
+ j <- y;
+ k <- y;
+ l <- y;
+ m <- y;
+ n <- y;
+ o <- y;
+ p <- y;
+ q <- y;
+ r <- y;
+ s <- y;
+ t <- y;
+ u <- y;
+ v <- y;
+ w <- y;
+ x <- y;
+ yx <- y;
+ z <- y;
+ aa <- y;
+ bb <- y;
+ cc <- y;
+ dd <- y;
+ ee <- y;
+ ff <- y;
+ gg <- y;
+ hh<- y;
+ ii <- y;
+ jj <- y;
+ kk <- y
+ ) yield a + b + c + d + e
+} \ No newline at end of file
diff --git a/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala b/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala
new file mode 100644
index 000000000..798868d72
--- /dev/null
+++ b/sbt-bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala
@@ -0,0 +1,41 @@
+package test
+
+object TopLevelModule1
+{
+ object InnerModule1
+ {
+ object InnerModule2
+ {
+ trait Z { def q = 3 }
+ def x = 3
+ }
+ }
+ class InnerClass1
+ {
+ class InnerClass2
+ {
+ val z = new TopLevelModule1.InnerClass2
+ }
+ object InnerModule3
+ {
+ val y = new TopLevel1 with InnerModule1.InnerModule2.Z { val x = 4 }
+ }
+ }
+ class InnerClass2
+}
+class TopLevel1
+{
+ object Inner1_1
+}
+object TopLevel1
+{
+ class Inner1_2
+ object Inner1_2
+}
+
+object TopLevel2
+class TopLevel2
+
+object TopLevel3
+
+class TopLevel4 \ No newline at end of file