Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Union() -> Union{}, part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Sep 18, 2015
1 parent 87b7eb6 commit c976269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traitfns.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# @traitfn f1{S,T<:Integer; D1{S}, D1{T} }(s::S,t::T) = sin(s) - sin(t)
# @traitfn f1{X,Y<:FloatingPoint; D1{X}, D1{Y} }(x::X,y::Y) = cos(x) - cos(y)

typealias FName Union(Symbol,Expr)
typealias FName Union{Symbol,Expr}

# generates: X1, X2,... or x1, x2.... (just symbols not actual TypeVar)
type GenerateTypeVars{CASE}
Expand Down

0 comments on commit c976269

Please sign in to comment.