We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TupleCommaSpacing rule triggers when the tuple comma spacing is correct in named optional parameter assignments.
type TestClass(arg1 : int, ?arg2 : int) = class end let x = TestClass(1, ?arg2 = Some(2))
No lint error.
Comma in tuple instantiation should be followed by single space. Error on line 45 starting at column 19 let x = TestClass(1, ?arg = Some(2))
Removing the space in the tuple removes the error:
///... let x = TestClass(1,?arg = Some(2))
The text was updated successfully, but these errors were encountered:
Additional false positive: TupleIndentation when using named optional parameter assignments:
type TestClass(arg1 : int, ?arg2 : int) = class end let x = TestClass( 1, ?arg2 = Some(2) )
Results in:
Sub-expressions of tuple on different lines should have consistent indentation. Error on line 72 starting at column 8 1, ^
I'm not sure what the workaround is for this one.
Sorry, something went wrong.
No branches or pull requests
Description
TupleCommaSpacing rule triggers when the tuple comma spacing is correct in named optional parameter assignments.
Repro steps
Expected behavior
No lint error.
Actual behavior
Known workarounds
Removing the space in the tuple removes the error:
Related information
The text was updated successfully, but these errors were encountered: