Recognize ExtractPosition/InjectPosition in the node macro context analyzer
Also, fix migration missing alias
This commit is contained in:
parent
06e2a049de
commit
256dd26b99
|
|
@ -64,7 +64,7 @@ macro_rules! tagged_value {
|
|||
/// Stored compactly as a `GradientStops`, materializes as a single-row `List<GradientStops>` at runtime via `to_dynany`/`to_any`. Aliases recover legacy on-disk shapes.
|
||||
/// (Old documents that stored a full `Gradient` struct under this same `"Gradient"` tag are routed to `FillGradient` by `deserialize_tagged_value_with_legacy_migration`.)
|
||||
#[serde(deserialize_with = "graphic_types::vector_types::gradient::migrate_to_gradient_stops")] // TODO: Eventually remove this migration document upgrade code
|
||||
#[serde(alias = "GradientTable", alias = "GradientPositions")]
|
||||
#[serde(alias = "GradientTable", alias = "GradientPositions", alias = "GradientStops")]
|
||||
Gradient(GradientStops),
|
||||
/// Stored compactly as a `Vec<BrushStroke>`, materializes as `List<BrushStroke>` at runtime via `to_dynany`/`to_any`. Aliases recover legacy on-disk shapes.
|
||||
#[serde(deserialize_with = "brush_nodes::migrations::migrate_to_brush_strokes")] // TODO: Eventually remove this migration document upgrade code
|
||||
|
|
|
|||
|
|
@ -550,12 +550,14 @@ fn parse_context_feature_idents(ty: &Type) -> Vec<Ident> {
|
|||
| "ExtractRealTime"
|
||||
| "ExtractAnimationTime"
|
||||
| "ExtractPointerPosition"
|
||||
| "ExtractPosition"
|
||||
| "ExtractIndex"
|
||||
| "ExtractVarArgs"
|
||||
| "InjectFootprint"
|
||||
| "InjectRealTime"
|
||||
| "InjectAnimationTime"
|
||||
| "InjectPointerPosition"
|
||||
| "InjectPosition"
|
||||
| "InjectIndex"
|
||||
| "InjectVarArgs" => {
|
||||
features.push(segment.ident.clone());
|
||||
|
|
|
|||
Loading…
Reference in New Issue