Skip to content

Commit

Permalink
Add missing features to copyconstructor, remove dead code feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lesaltzm committed Nov 14, 2024
1 parent 2b6146a commit 94aec9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/libraries/Microsoft.PowerFx.Core/Public/Config/Features.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ public sealed class Features
/// </summary>
internal bool AsTypeLegacyCheck { get; init; }

/// <summary>
/// This is required by AsType() in Legacy Analysis.
/// </summary>
internal bool IsLegacyAnalysis { get; init; }

/// <summary>
/// Removes support for coercing a control to it's primary output property.
/// This only impacts PA Client scenarios, but some code still lives in PFx.
Expand Down Expand Up @@ -131,6 +126,11 @@ internal Features(Features other)
PowerFxV1CompatibilityRules = other.PowerFxV1CompatibilityRules;
PrimaryOutputPropertyCoercionDeprecated = other.PrimaryOutputPropertyCoercionDeprecated;
IsUserDefinedTypesEnabled = other.IsUserDefinedTypesEnabled;
AllowImpureNodeDelegation = other.AllowImpureNodeDelegation;
AllowAsyncDelegation = other.AllowAsyncDelegation;
AsTypeLegacyCheck = other.AsTypeLegacyCheck;
JsonFunctionAcceptsLazyTypes = other.JsonFunctionAcceptsLazyTypes;
IsLookUpReductionDelegationEnabled = other.IsLookUpReductionDelegationEnabled;
}
}
}

0 comments on commit 94aec9a

Please sign in to comment.