Try this:
function _make_simple_undirected_graph{T<:Integer}(n::T,
edgelist::Vector{Tuple{T,T}})
On Monday, 20 April 2015 00:18:33 UTC+5:30, Seth wrote:
>
> Could someone please explain what's going on here and what I need to do to
> fix my package with the latest 0.4 tuple changes?
>
> Here's the error (from pkg.julialang.org):
>
> ERROR: LoadError: LoadError: LoadError: TypeError: apply_type: in alias,
> expected Type{T}, got Tuple{TypeVar,TypeVar}
> in include at ./boot.jl:250
> in include_from_node1 at ./loading.jl:129
> in include at ./boot.jl:250
> in include_from_node1 at ./loading.jl:129
> in reload_path at ./loading.jl:153
> in _require at ./loading.jl:68
> in require at ./loading.jl:51
> in include at ./boot.jl:250
> in include_from_node1 at loading.jl:129
> in process_options at ./client.jl:299
> in _start at ./client.jl:398
> while loading /home/vagrant/testpkg/v0.4/LightGraphs/src/smallgraphs.jl, in
> expression starting on line 120
> while loading /home/vagrant/testpkg/v0.4/LightGraphs/src/LightGraphs.jl, in
> expression starting on line 93
> while loading /vagrant/nightlyAL/PKGEVAL_LightGraphs_using.jl, in expression
> starting on line 4
>
>
> Here's the line in question:
>
> function _make_simple_undirected_graph{T<:Integer}(n::T, edgelist::Vector
> {(T,T)})
>
> I confess to not yet fully understanding the new change to tuples, and I'm
> lost as to how to fix my code to comply with the new rules.
>
> Thanks.
>