1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 17:32:05 +03:00
Commit Graph

17354 Commits

Author SHA1 Message Date
Timothy Clem
58ebcbfb00 Add IdentifierName decorator 2017-12-12 11:32:12 -08:00
Rick Winfrey
a9dd9a2f31 Merge pull request #1404 from github/cyclomatic-complexity-decorator
Analysis.CyclomaticComplexity
2017-12-11 15:42:39 -08:00
Rick Winfrey
3028946612 Define a default method for the CustomHasCyclomaticComplexity typeclass 2017-12-11 15:39:41 -08:00
Rick Winfrey
01c30abc2d Add single blob parser util function for convenience 2017-12-11 15:39:12 -08:00
Rick Winfrey
3610ec269b Merge branch 'master' into cyclomatic-complexity-decorator 2017-12-11 14:36:08 -08:00
Rick Winfrey
cda1779d64 Update comment 2017-12-11 14:29:30 -08:00
Rick Winfrey
a9456c00f4 Merge pull request #1452 from github/switch-to-go-assignment
Turn on Go assignment
2017-12-11 14:23:25 -08:00
Rick Winfrey
750c4a6d3e Contextualize specific syntax for function and method declarations
- These assignment rules are two of the only places in Go assignment where individual syntax rules are used. This wraps those syntax rules in `term`, so that they can be contextualized.
2017-12-02 12:44:28 -08:00
Rick Winfrey
7c1d381530 Turn on Go assignment 2017-12-01 14:45:37 -08:00
Rick Winfrey
d649a514af Update tests 2017-12-01 13:36:38 -08:00
Rick Winfrey
21024a0506 🔥 unnecessary language extensions 2017-12-01 13:36:32 -08:00
Rick Winfrey
7ee4b04c1f Update CyclomaticComplexity 2017-12-01 13:00:30 -08:00
Rick Winfrey
e7a5e88d5e First pass updating CyclomaticComplexity 2017-12-01 11:39:04 -08:00
Rick Winfrey
df52854ef0 Merge branch 'master' into cyclomatic-complexity-decorator 2017-12-01 11:23:15 -08:00
Rob Rix
2c561be63f Merge pull request #1450 from github/update-go-toc-rendering
Better isolate function name for function declarations vs function literals
2017-12-01 11:27:17 -05:00
Rob Rix
cffe4a757e Merge branch 'master' into update-go-toc-rendering 2017-12-01 11:22:27 -05:00
Rob Rix
6b586f035e Merge pull request #1449 from github/better-generic-show1-instances
Better generic Show1 instances
2017-12-01 11:20:21 -05:00
Rick Winfrey
e18ca5b9d0 Merge branch 'update-go-toc-rendering' of github.com:github/semantic-diff into update-go-toc-rendering 2017-11-30 16:55:40 -08:00
Rick Winfrey
be3d497f8c Add interface test cases for method specs without return types 2017-11-30 16:55:38 -08:00
Rick Winfrey
57015bc8bd Update methodSpec assignments to not require return type 2017-11-30 16:55:20 -08:00
Rick Winfrey
3bc8c4cff5 Merge branch 'master' into update-go-toc-rendering 2017-11-30 16:37:14 -08:00
Rick Winfrey
442824949d Update tests 2017-11-30 16:28:04 -08:00
Rick Winfrey
35a83422f4 Do less work for more accuracy 2017-11-30 16:26:45 -08:00
Rick Winfrey
bafff20f3b Tokenize the fun keyword in function declarations 2017-11-30 16:02:16 -08:00
Rob Rix
8da948440e Merge branch 'master' into better-generic-show1-instances 2017-11-30 17:10:03 -05:00
Rob Rix
44bdfbe8b6 Merge pull request #1447 from github/musical-modules
♩ Musical modules ♫
2017-11-30 17:09:08 -05:00
Rob Rix
d1da673a9f More docs for F- & R-algebras.
cc @joshvera — I talked a little about open recursion as well.
2017-11-30 17:04:36 -05:00
Rob Rix
4ccf265c4e Opt the tests into using record syntax. 2017-11-30 11:12:23 -05:00
Rob Rix
d843c9a328 Rename the option. 2017-11-30 11:10:22 -05:00
Rob Rix
6f30e47589 Omit selectors by default. 2017-11-30 11:09:41 -05:00
Rob Rix
663ffab1b4 Export defaultGShow1Options. 2017-11-30 11:07:15 -05:00
Rob Rix
7f0ecbef19 Simplify how the options are applied. 2017-11-30 11:06:48 -05:00
Rob Rix
41490a38f1 Define a helper to provide options when implementing liftShowsPrec generically. 2017-11-30 11:04:07 -05:00
Rob Rix
90fde64e9f Add options to allow disabling record syntax. 2017-11-30 11:02:05 -05:00
Rob Rix
2bbd4e7a49 Test that derived & generic showsPrec agree for infix constructors. 2017-11-30 10:47:53 -05:00
Rob Rix
6ce7ba6b2a Rename the record test. 2017-11-30 10:45:52 -05:00
Rob Rix
517843b603 Test that generic Show1 shows record selectors. 2017-11-30 10:44:32 -05:00
Rob Rix
4b928a6c4e Test that derived & generic showsPrec agree. 2017-11-30 10:41:26 -05:00
Rob Rix
221a88f452 Test that derived & generic equality agree. 2017-11-30 10:38:46 -05:00
Rob Rix
a76ca3fcfc Generic Show1 respects fixity and record selectors. 2017-11-30 10:36:51 -05:00
Rob Rix
cd9e99eb59 🔥 genericLiftShowList. 2017-11-30 10:28:46 -05:00
Rob Rix
67f251e223 Combine the generic Eq1, Ord1, & Show1 implementations into a single module. 2017-11-30 10:24:48 -05:00
Rob Rix
bb2aa0ad0a Stub in a module to hold all the generic Data.Functor.Classes implementations. 2017-11-30 10:14:21 -05:00
Rob Rix
e22e1cf3bc Merge branch 'master' into musical-modules 2017-11-30 10:00:12 -05:00
Rob Rix
633155a2e4 Merge pull request #1448 from github/bump-effects
Fix the inadvertent rollback of effects.
2017-11-30 09:59:45 -05:00
Rob Rix
c1d96c7071 Fix the inadvertent rollback of effects. 2017-11-30 09:54:17 -05:00
Rob Rix
cbd02eab7b Merge branch 'master' into musical-modules 2017-11-30 09:53:19 -05:00
Rick Winfrey
8ab0db3624 Merge pull request #1330 from github/go-assignment
Go Assignment
2017-11-29 18:17:36 -08:00
Rick Winfrey
cd1fdf1065 🔥 specialized assignment alternations 2017-11-29 18:10:57 -08:00
Rick Winfrey
eb83043303 🔥 unnecessary arrayType 2017-11-29 18:07:25 -08:00