diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-12-02 13:15:28 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-12-04 10:12:07 +0100 |
| commit | 008b59839f276bc5563fea2ac3350da63a0355d8 (patch) | |
| tree | e5e5a227e984df67ffa73d2561567e800952de7d /crates/typst-macros | |
| parent | f8f2ba6a5f8c8ca7dbb85cf17b73332a0c301c60 (diff) | |
Add some more spans
Diffstat (limited to 'crates/typst-macros')
| -rw-r--r-- | crates/typst-macros/src/cast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-macros/src/cast.rs b/crates/typst-macros/src/cast.rs index 9254cdb9..b90b7888 100644 --- a/crates/typst-macros/src/cast.rs +++ b/crates/typst-macros/src/cast.rs @@ -273,7 +273,7 @@ fn create_output_body(input: &CastInput) -> TokenStream { if input.dynamic { quote! { #foundations::CastInfo::Type(#foundations::Type::of::<Self>()) } } else { - quote! { Self::input() } + quote! { <Self as #foundations::Reflect>::input() } } } |
