julia> GAP.evalstr("2^100/0")
ERROR: Error thrown by GAP:
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] evalstr(cmd::String)
@ GAP ~/code/julia/GAP.jl/src/ccalls.jl:149
[3] top-level scope
@ REPL[10]:1
This suggests that there should be some GAP error message after the :.
When doing the same thing in slightly different ways (without using evalstr), the GAP error message is shown:
julia> GAP.GapObj(BigInt(2)^100) / 0
ERROR: Error thrown by GAP: Error, Rational operations: <divisor> must not be zero
not in any function at *defin*:0
[...]
julia> GAP.prompt()
gap> 2^100/0;
Error, Rational operations: <divisor> must not be zero
not in any function at *stdin*:1
type 'quit;' to quit to outer loop
maybe related to #896
This suggests that there should be some GAP error message after the
:.When doing the same thing in slightly different ways (without using
evalstr), the GAP error message is shown:maybe related to #896