Revision 6bcdd00b400bde8521119cede7e5f2dff3744adb authored by Fredrik Ekre on 05 May 2023, 16:22:03 UTC, committed by GitHub on 05 May 2023, 16:22:03 UTC
This patch removes the erroneous `{}` for types without parameters when
printing `MethodError`s from convert. Fixes e.g. the following (note
`Float64{}`):

```julia
julia> struct A{B, C} end

julia> convert(A{Float64,1}, A{Float64,2}())
ERROR: MethodError: Cannot `convert` an object of type
  A{Float64{},2} to an object of type
  A{Float64{},1}
```
1 parent 6adea08
Raw File
.gitattributes
# treat all files as files that should not be modified
* -text
back to top