We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab9140 commit 3534b58Copy full SHA for 3534b58
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