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
File | Mode | Size |
---|---|---|
.devcontainer | ||
.github | ||
base | ||
cli | ||
contrib | ||
deps | ||
doc | ||
etc | ||
src | ||
stdlib | ||
test | ||
.buildkite-external-version | -rw-r--r-- | 5 bytes |
.clang-format | -rw-r--r-- | 3.3 KB |
.clangd | -rw-r--r-- | 114 bytes |
.codecov.yml | -rw-r--r-- | 52 bytes |
.git-blame-ignore-revs | -rw-r--r-- | 371 bytes |
.gitattributes | -rw-r--r-- | 65 bytes |
.gitignore | -rw-r--r-- | 514 bytes |
.mailmap | -rw-r--r-- | 12.1 KB |
CITATION.bib | -rw-r--r-- | 513 bytes |
CITATION.cff | -rw-r--r-- | 940 bytes |
CONTRIBUTING.md | -rw-r--r-- | 23.1 KB |
HISTORY.md | -rw-r--r-- | 363.4 KB |
LICENSE.md | -rw-r--r-- | 1.3 KB |
Make.inc | -rw-r--r-- | 54.4 KB |
Makefile | -rw-r--r-- | 29.8 KB |
NEWS.md | -rw-r--r-- | 5.4 KB |
README.md | -rw-r--r-- | 7.4 KB |
THIRDPARTY.md | -rw-r--r-- | 3.8 KB |
VERSION | -rw-r--r-- | 11 bytes |
julia.spdx.json | -rw-r--r-- | 35.8 KB |
pkgimage.mk | -rw-r--r-- | 5.8 KB |
sysimage.mk | -rw-r--r-- | 4.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...