Steven, The error is actually an issue with LightTable's Juno plugin and actually has nothing to do with Julia. I think what happened is in reporting the errors the plugin makes some mistake and ended up reporting another error(or itself had some misuse of strings) instead. The actual error was discovered while running it from the command shell is in fact: ERROR: assertion failed in ∫ at SimplePoly.jl:286 in ∫ at SimplePoly.jl:518 in ∫ at SimplePoly.jl:786 in ∫ at Factor.jl:153 which seems more reasonable, as the assertion is the one I wrote.
sorry for the troubles! On Tuesday, January 13, 2015 at 3:16:44 PM UTC-5, Steven G. Johnson wrote: > > Though we could define such a conversion method with: > > convert{T<:AbstractString}(::Type{SubString{T}}, s::AbstractString) = > let s′ = T(s); SubString(s′, 1, endof(s′)); end > > Evan, what is your application here? What are you trying to do? >