Creation of function using eval

I get

MethodError: no method matching (::##11#12)(::Float64)
The applicable method may be too new: running in world age 31743, while current world is 31744.
Closest candidates are:
  #11(::Any) atptree.jl:205 (method too new to be called from this world context.)
run(::Array{Float64,1}, ::Array{Float64,1}, ::ChoiceNode) at ptree.jl:217
include_string(::String, ::String) at loading.jl:515
eval(::Module, ::Any) at boot.jl:235
...

Which seems to be a new restriction introduced in v0.6 (if I understood that correctly(