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 31ad95e commit af9c96eCopy full SHA for af9c96e
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