Sorted imports 2 #330
No reviewers
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#330
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "imports-sorted"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I've merged the ghc 8.10 branch against the sorted-import branch and added some basic tests (Had to add a blank line function to the test suite)
I'm not sure if I'm being dense, but are there any tests where one enters the initial and expected source files, or is every test a "passthrough" test. i.e. would the identity function pass the testsuite?!
(I've targeted this against the ghc-8.10 branch because it includes those commits too)
The only required checklist items on @lspitzner's PR were:
(reopened from https://github.com/lspitzner/brittany/pull/325)
😆 These are funny now that they're sorted.
We can drop this CPP now.
Same with this.
@ -150,0 +190,4 @@
$ docSeq
$ [docLit (Text.pack "(")]
++ (docForceSingleline <$> ieDs)
++ [docParenR]
And this.
And this.
If you can think of an alphabetical sentence with the same meaning we should use that!
@ -150,0 +190,4 @@
$ docSeq
$ [docLit (Text.pack "(")]
++ (docForceSingleline <$> ieDs)
++ [docParenR]
done
@ -150,0 +190,4 @@
$ docSeq
$ [docLit (Text.pack "(")]
++ (docForceSingleline <$> ieDs)
++ [docParenR]
done
done
Not that I know of, but it seems like there should be!
I can't really speak to the code, but the result (sorting imports) looks great! Thanks for sticking with this and getting it over the line.
Thanks!
On Fri, Dec 11, 2020, 11:44 PM Taylor Fausak notifications@github.com
wrote: