From 65427b5e03be524dde597ca312c92b94518dcfbd Mon Sep 17 00:00:00 2001 From: willerf Date: Sun, 28 Apr 2024 13:57:55 -0700 Subject: [PATCH] add test for colon colon next scenario --- tests/init-global/pos/list-colon-colon-next.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/init-global/pos/list-colon-colon-next.scala diff --git a/tests/init-global/pos/list-colon-colon-next.scala b/tests/init-global/pos/list-colon-colon-next.scala new file mode 100644 index 000000000000..5a87cb311bea --- /dev/null +++ b/tests/init-global/pos/list-colon-colon-next.scala @@ -0,0 +1,5 @@ +object A: + val a: List[Int] = List(1, 2, 3) + +object B: + val b = A.a.size