The following typealias used to work in Julia v0.5:

typealias RealLowerTriangular{T<:Real, S<:AbstractMatrix} LowerTriangular{T, S}

Upon upgrading to Julia v0.6, I received a suggestion on the REPL to use instead the following:

RealLowerTriangular{T<:Real, S<:AbstractMatrix} = LowerTriangular{T, S}

However, trying out the supposed fix yields the following error:

RealLowerTriangular(ones(2))

ERROR: MethodError: Cannot `convert`

an object of type Array{Float64,1} to an object of type LowerTriangular{T,S} where S<:(AbstractArray{T,2} where T) where T<:Real

This may have arisen from a call to the constructor LowerTriangular{T,S} where S<:(AbstractArray{T,2} where T) where T<:Real(…),

since type constructors fall back to convert methods.

Stacktrace:

[1] LowerTriangular{T,S} where S<:(AbstractArray{T,2} where T) where T<:Real(::Array{Float64,1}) at ./sysimg.jl:24