-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove PowerFxConfig.Culture #1292
Conversation
Public API changes: |
Public API changes: |
@@ -37,6 +37,13 @@ public class ParserOptions | |||
/// It is an immediate parser error if the expression is too long. | |||
/// </summary> | |||
public int MaxExpressionLength { get; set; } | |||
|
|||
public ParserOptions(CultureInfo culture = null, bool allowsSideEffects = false, int maxExpressionLength = 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As all params are optional, we already have a default ctor, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, not according to the .net loader.
A default ctor means no parameters.
Whereas a default parameter is a compiler-level construct (the compiler will insert the default value at the callsite), but it's still a regular parameter for .net loader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True but I don't think it matters here
src/libraries/Microsoft.PowerFx.Interpreter/Marshal/TypeCoercionProvider.cs
Show resolved
Hide resolved
Public API changes: |
Public API changes: |
Public API changes: |
Public API changes: |
src/libraries/Microsoft.PowerFx.Core/Texl/Intellisense/IntellisenseProvider.cs
Outdated
Show resolved
Hide resolved
src/tests/Microsoft.PowerFx.Interpreter.Tests/InterpreterSuggestTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Public API changes: |
No description provided.