Skip to content

Commit

Permalink
test: update generator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Nov 22, 2023
1 parent 14a8821 commit 08e6cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tests.generator.assignment

@Impure([ImpurityReason.Other]) fun f1(param: Any?)
@Impure([ImpurityReason.Other]) fun f2(param: () -> r: Int?)
@Impure([ImpurityReason.PotentiallyImpureParameterCall("param")]) fun f2(param: () -> r: Int?)

@Impure([ImpurityReason.Other]) fun g() -> (a: Int, b: Int, c: Int)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package tests.generator.expressionStatement

@Impure([ImpurityReason.Other]) fun f(param: () -> ())
@Impure([ImpurityReason.PotentiallyImpureParameterCall("param")]) fun f(param: () -> ())

@Impure([ImpurityReason.Other]) fun g() -> result: Int

Expand Down

0 comments on commit 08e6cb8

Please sign in to comment.