Skip to content

Commit

Permalink
Added pointer to original enum.jl location (JuliaLang/julia#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmsquire committed Feb 27, 2014
1 parent 3aa8466 commit 53be639
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/enum.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Based mostly on https://github.com/JuliaLang/julia/pull/2988,
# with slight modifications. If that (or something similar)
# ever lands in base, this can go away.

abstract Enum

Base.typemin{T<:Enum}(x::Type{T}) = T(0)
Expand Down

0 comments on commit 53be639

Please sign in to comment.