We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f0ec1 commit 66a5e39Copy full SHA for 66a5e39
tests/neg/memoTest.scala
@@ -0,0 +1,4 @@
1
+object Test {
2
+ import compiletime.memo
3
+ val a = memo(1) // error: memo(...) outside method
4
+}
0 commit comments