Skip to content

Commit

Permalink
uncomment now passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrevels committed Dec 20, 2017
1 parent faf68c0 commit 5b14479
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1365,17 +1365,13 @@ end
x, y = rand(), rand()
result = f24852_kernel(x, y)

# TODO: The commented out tests here are the ones where `signature_for_inference_heuristics`
# is inflated; these tests cause segfaults. Probably due to incorrect CodeInfo
# construction/initialization happening somewhere...

@test result === f24852_late_expr(x, y)
@test result === f24852_late_uninflated(x, y)
# @test result === f24852_late_inflated(x, y)
@test result === f24852_late_inflated(x, y)

@test result === f24852_early_expr(x, y)
@test result === f24852_early_uninflated(x, y)
# @test result === f24852_early_inflated(x, y)
@test result === f24852_early_inflated(x, y)

# TODO: test that `expand_early = true` + inflated `signature_for_inference_heuristics`
# can be used to tighten up some inference result.

0 comments on commit 5b14479

Please sign in to comment.