Morsel.jl
Morsel.jl copied to clipboard
Issue 38 update after running
Fix issue 38
I think when same path, eg: "test", is reinserted into the RouteTable, we should update the RouteTable with the new path.
haven't pass the Travis CI :(
ERROR: LoadError: LoadError: LoadError: ArgumentError: invalid type for argument r in method definition for isequal at /home/travis/.julia/v0.4/Morsel/src/Routes.jl:81
https://github.com/JuliaWeb/Morsel.jl/blob/master/src/Routes.jl#L81
I haven't figured out why :( ...
Everything is broken on 0.4 right now so could be anything
@IainNZ Thank you :) !
The Julia Tuple changes, it has new syntax.. It should be
typealias Bar Tuple{Function, Function}
in the newest Julia.
I have tried this in older version( Version 0.4.0-dev+2204 (2014-12-19 04:53 UTC) ), and the it doesn't work...
Hi @yfractal yes, this syntax will not work in older builds. There is no point keeping compatibility with old builds for a development branch. However, we do want packages to be compatible with 0.3. The best way of doing that is via the Compat.jl package.
https://github.com/JuliaLang/Compat.jl/pull/63
@aviks Thank you! The Compact.jl is so cool!
I will try to fix these.