Skip to content

Commit

Permalink
Only check constraints/run body in inner constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
cstjean committed Mar 26, 2018
1 parent 90dce1c commit 4059583
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/QuickTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ function qexpansion(def, mutable, fully_parametric, narrow_types)
? [straight_constr] : [])...))))
construct_def =
:(function $QuickTypes.construct(::Type{$name}, $(new_args...))
$constraints
$name($(o_constr_args...);
$(o_constr_kwargs...))
end)
Expand Down

0 comments on commit 4059583

Please sign in to comment.