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 1f364f0
Showing 1 changed file with 1 addition and 1 deletion.
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 1f364f0

Please sign in to comment.