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
Issue created from fantomas-ui
namespace Foo open System.Linq module Bar = let Baz () = for foo in bar().OfType<SomeType>() do printf "baz"
Exception: cannot determine if synExpr DotGet (App (Atomic,false,Ident bar,Const (Unit,tmp.fsx (7,22--7,24) IsSynthetic=false), tmp.fsx (7,19--7,24) IsSynthetic=false), tmp.fsx (7,24--7,25) IsSynthetic=false,LongIdentWithDots ([OfType],[]), tmp.fsx (7,19--7,31) IsSynthetic=false) is uppercase or lowercase Stack Trace: at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1637.Invoke(String message) in E:\A\_work\130\s\src\fsharp\FSharp.Core\printf.fs:line 1637 at Fantomas.CodePrinter.addSpaceBeforeParensInFunCall(SynExpr functionOrMethod, SynExpr arg, Context ctx) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 52 at Fantomas.CodePrinter.genExpr@1084-231.Invoke(Context ctx) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 1086 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.CodePrinter.genExpr@913-111.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 913 at Fantomas.Context.atIndentLevel@192-6.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/Context.fs:line 192 at Fantomas.Context.atIndentLevel(Boolean alsoSetIndent, Int32 level, FSharpFunc`2 f, Context ctx) in /build/.deps/fantomas/src/Fantomas/Context.fs:line 193 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.Context.futureNlnCheckMem(FSharpFunc`2 f, Context ctx) in /build/.deps/fantomas/src/Fantomas/Context.fs:line 429 at Fantomas.Context.futureNlnCheck(FSharpFunc`2 f, Context ctx) in /build/.deps/fantomas/src/Fantomas/Context.fs:line 433 at Fantomas.CodePrinter.genExprSepEqPrependType(FSharpFunc`2 genPat, ASTContext astContext, FSharpFunc`2 prefix, SynPat pat, SynExpr e, Context ctx) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 469 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.CodePrinter.genModuleDecl@344-46.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 344 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.CodePrinter.genTrivia@2481-1.Invoke(Context x) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 2481 at Fantomas.Context.col[T](FSharpFunc`2 f', IEnumerable`1 c, FSharpFunc`2 f, Context ctx) in /build/.deps/fantomas/src/Fantomas/Context.fs:line 289 at Fantomas.CodePrinter.genImpFile@90-6.Invoke(Context ctx) in /build/.deps/fantomas/src/Fantomas/CodePrinter.fs:line 90 at Fantomas.CodeFormatterImpl.formatWith(ParsedInput ast, FSharpList`1 defines, FormatContext formatContext, FormatConfig config) in /build/.deps/fantomas/src/Fantomas/CodeFormatterImpl.fs:line 392 at Fantomas.CodeFormatterImpl.format@408-1.Invoke(Tuple`2[] _arg1) in /build/.deps/fantomas/src/Fantomas/CodeFormatterImpl.fs:line 410 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, FSharpFunc`2 userCode, b result1) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 416 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 109 --- End of stack trace from previous location where exception was thrown --- at Microsoft.FSharp.Control.AsyncResult`1.Commit() in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 349 at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronouslyInCurrentThread[a](CancellationToken cancellationToken, FSharpAsync`1 computation) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 870 at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 890 at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 1153 at Server.Result.attempt[a](FSharpFunc`2 f) in /build/src/Server/Server.fs:line 24
Fantomas Next - 3.3.0-3/18/2020
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
SemicolonAtEndOfLine
SpaceAfterComma
true
SpaceAfterSemicolon
SpaceAroundDelimiter
SpaceBeforeClassConstructor
SpaceBeforeColon
SpaceBeforeLowercaseInvocation
SpaceBeforeMember
SpaceBeforeParameter
SpaceBeforeSemicolon
SpaceBeforeUppercaseInvocation
StrictMode
The text was updated successfully, but these errors were encountered:
Determine if DotGet expression is upper- or lowercase. Fixes fsprojec…
957a922
…ts#729
Determine if DotGet expression is upper- or lowercase. Fixes #729 (#778)
2f49058
Successfully merging a pull request may close this issue.
Issue created from fantomas-ui
Code
Error
Options
Fantomas Next - 3.3.0-3/18/2020
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeClassConstructor
false
SpaceBeforeColon
false
SpaceBeforeLowercaseInvocation
true
SpaceBeforeMember
false
SpaceBeforeParameter
true
SpaceBeforeSemicolon
false
SpaceBeforeUppercaseInvocation
false
StrictMode
false
The text was updated successfully, but these errors were encountered: