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.
|
/// 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`.)
|
/// (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(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),
|
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.
|
/// 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
|
#[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"
|
| "ExtractRealTime"
|
||||||
| "ExtractAnimationTime"
|
| "ExtractAnimationTime"
|
||||||
| "ExtractPointerPosition"
|
| "ExtractPointerPosition"
|
||||||
|
| "ExtractPosition"
|
||||||
| "ExtractIndex"
|
| "ExtractIndex"
|
||||||
| "ExtractVarArgs"
|
| "ExtractVarArgs"
|
||||||
| "InjectFootprint"
|
| "InjectFootprint"
|
||||||
| "InjectRealTime"
|
| "InjectRealTime"
|
||||||
| "InjectAnimationTime"
|
| "InjectAnimationTime"
|
||||||
| "InjectPointerPosition"
|
| "InjectPointerPosition"
|
||||||
|
| "InjectPosition"
|
||||||
| "InjectIndex"
|
| "InjectIndex"
|
||||||
| "InjectVarArgs" => {
|
| "InjectVarArgs" => {
|
||||||
features.push(segment.ident.clone());
|
features.push(segment.ident.clone());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue