Skip to content

Commit 440e295

Browse files
nicolasstuckiliufengyun
authored andcommitted
Move tests to pos-macros
1 parent b2d2796 commit 440e295

File tree

11 files changed

+4
-28
lines changed

11 files changed

+4
-28
lines changed

tests/neg-macros/macros-in-same-project-1.check

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/neg-macros/macros-in-same-project-1/Bar.scala

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/neg-macros/macros-in-same-project-2.check

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/neg-macros/macros-in-same-project-3.check

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object Bar {
2+
Foo.myMacro()
3+
}

tests/neg-macros/macros-in-same-project-2/Bar.scala renamed to tests/pos-macros/macros-in-same-project-2/Bar.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ object Bar {
22

33
inline def myMacro(): Unit = ${ Foo.aMacroImplementation }
44

5-
myMacro() // error
5+
myMacro()
66

77
}

0 commit comments

Comments
 (0)