Skip to content

Commit

Permalink
Merge pull request #101 from JuliaLang/revert-97-jq/finalize
Browse files Browse the repository at this point in the history
Revert "Jq/finalize"
  • Loading branch information
quinnj committed Jun 5, 2015
2 parents 7a07dd0 + 27fce2b commit 2e0ee96
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ Currently, the `@compat` macro supports the following syntaxes:

* `fma(x,y,z)` and `muladd(x,y,z)` can be used in Julia 0.3 for `x*y+z`.

* `finalize(x)` is a no-op on Julia 0.3; in 0.4 it forces a registered finalizer to run on `x`

## Renamed functions

* `itrunc`, `iround`, `iceil`, `ifloor` are now accessed via `trunc(T, x)`, etc. [#9133](https://github.com/JuliaLang/julia/pull/9133)
Expand Down
5 changes: 0 additions & 5 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,4 @@ if VERSION < v"0.4.0-dev+4939"
export isvalid
end

if VERSION < v"0.4.0-dev+1969"
finalize(x) = nothing
export finalize
end

end # module
3 changes: 0 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,3 @@ if VERSION > v"0.3.99"
@test foo(5) == Int
end
end

# finalize
@test finalize(1) == nothing

0 comments on commit 2e0ee96

Please sign in to comment.