Skip to content

Commit

Permalink
Preemptively fix tests that are about to break
Browse files Browse the repository at this point in the history
Apply these changes if JuliaLang/julia#47369
gets merged.

The error message for MethodError currently applies to both calls to
functions and `invoke()`, but did not specify which the error came from.
Fixing this will break some tests, hence this PR.
  • Loading branch information
apaz-cli committed Nov 23, 2022
1 parent ed236cd commit acee9d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.0-DEV"
manifest_format = "2.0"
project_hash = "8a2f8f6f9e9cb9391b612b012ee26ce83decd18d"

[[deps.Tricks]]
git-tree-sha1 = "6bac775f2d42a611cdfcd1fb217ee719630c4175"
uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
version = "0.1.6"
2 changes: 1 addition & 1 deletion docs/src/attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ When we normalize attribute names, we strip leading underscores.
We don't expand into attributes things that don't look like attributes.

@htl "<tag $(3)/>"
#-> ERROR: MethodError: no method matching inside_tag(::Int64)⋮
#-> ERROR: MethodError: no method matching for call to inside_tag(::Int64)⋮

One can add additional attributes following a bare name.

Expand Down

0 comments on commit acee9d7

Please sign in to comment.