1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

14230 Commits

Author SHA1 Message Date
Timothy Clem
f71db8f961 Merge branch 'master' into ruby-assignment-fixes 2017-08-03 14:50:57 -07:00
Rob Rix
dc7b0a5110 Merge pull request #1265 from github/requiem-for-a-protolude
Requiem for a protolude
2017-08-03 12:08:24 -04:00
Rob Rix
d041dad599 Fix some missing imports. 2017-08-03 12:06:03 -04:00
Rob Rix
ca9340c5f3 Add hlint rules to error on partial list functions. 2017-08-03 12:04:17 -04:00
Rob Rix
2529288f87 Merge branch 'master' into requiem-for-a-protolude 2017-08-03 11:51:09 -04:00
Rob Rix
d1d4e35192 Merge pull request #1278 from github/cmark-gfm
Use cmark-gfm package
2017-08-03 09:51:51 -04:00
Yuki Izumi
134aebe418 Fix my bad Haskell style 2017-08-03 17:26:53 +10:00
Yuki Izumi
bcf6b5b45e Use cmark-gfm package 2017-08-03 17:22:40 +10:00
Rick Winfrey
dc1d724696 Merge pull request #1267 from github/parse-jsx
Enable .jsx file parsing with the TypeScript parser
2017-08-02 15:59:17 -07:00
Rick Winfrey
4204df6003 Merge branch 'master' into parse-jsx 2017-08-02 15:51:45 -07:00
Timothy Clem
bf40c726d8 Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes 2017-08-02 11:01:51 -07:00
Timothy Clem
2564a48dd1 Merge pull request #1273 from github/print-source
Autodetect print source
2017-08-02 11:01:28 -07:00
Timothy Clem
1a5ffa9bcd Merge branch 'master' into print-source 2017-08-02 10:44:31 -07:00
Timothy Clem
e7c8a9d6e2 Having parenthesized let's us put these back to just expression 2017-08-02 10:41:31 -07:00
Timothy Clem
780663e06a Regenerate for example fixtures 2017-08-02 10:37:57 -07:00
Timothy Clem
5bb90ff93d Simplier for in assignment with updated tree-sitter 2017-08-02 10:37:18 -07:00
Timothy Clem
7efb8e4db4 ++tree-sitter-ruby and +parenthesized_expressions 2017-08-02 09:48:46 -07:00
Rob Rix
ae41d562ae Merge pull request #1275 from github/fix-assignment-error-traces
Fix assignment error traces
2017-08-02 12:29:53 -04:00
Rob Rix
c82bf8f033 Test that error call stacks point at the failing assignments. 2017-08-02 12:21:56 -04:00
Rob Rix
941dbe4d8a Define a function to retrieve the callstack from errors. 2017-08-02 12:19:17 -04:00
Rob Rix
19850efea1 Add callstacks to the spec rules. 2017-08-02 12:11:14 -04:00
Rob Rix
a017b27781 Factor out the construction of the error. 2017-08-02 12:07:47 -04:00
Rob Rix
2093e85a76 Produce the callstacks from the assignment constructors. 2017-08-02 11:58:20 -04:00
Timothy Clem
6fdcd61171 Handle empty hash pair in Ruby. e.g. {() => ()} 2017-08-02 08:07:15 -07:00
Timothy Clem
79d1156ff7 Let operator assignment match all remaining expressions
Handles examples like:

a[1] ||=
  (
    break if c
    c = false
  )
2017-08-02 07:47:38 -07:00
Timothy Clem
6f9836c103 Ruby case can be empty 2017-08-02 07:39:10 -07:00
Timothy Clem
473e7e34dd Can have binary statement of empty expressions 2017-08-01 15:25:28 -07:00
Timothy Clem
da51cb3c20 Autodetect print source 2017-08-01 15:24:18 -07:00
Timothy Clem
10ad4e29f6 Autodetect print source 2017-08-01 15:05:25 -07:00
Timothy Clem
ec9fcc7007 Fix for hidden binary nodes 2017-08-01 14:58:11 -07:00
Timothy Clem
7503a48ef1 Allow multiple expressions for all of these 2017-08-01 11:43:03 -07:00
Timothy Clem
6d1b076316 Rework for statement for new in clause 2017-08-01 11:40:56 -07:00
Timothy Clem
ee6c1f7667 Fallback to always catch binary minus for now 2017-08-01 11:40:43 -07:00
Timothy Clem
31dc6121a7 Allow ArgumentListWithParens in call 2017-08-01 11:40:28 -07:00
Timothy Clem
9020f74e48 ++tree-sitter-ruby for update for structure 2017-08-01 11:39:54 -07:00
Timothy Clem
d78a0db999 Flatten out argument into expression 2017-08-01 09:27:40 -07:00
Timothy Clem
20e9cb33a9 Turn on ruby assignment for sexpressions so we can test 2017-08-01 09:27:06 -07:00
Timothy Clem
0e2827af3a ++ tree-sitter-ruby to get examples 2017-08-01 09:26:37 -07:00
Timothy Clem
4a1728e4f6 Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes 2017-08-01 08:03:52 -07:00
Timothy Clem
32bc82e39f Bit more cleanup 2017-08-01 07:49:26 -07:00
Timothy Clem
e4aa0ec264 Little bit of cleanup 2017-08-01 07:49:26 -07:00
Timothy Clem
4e8cc13b54 Write key/value logs and log timing 2017-08-01 07:49:26 -07:00
Timothy Clem
a71e9ca428 Basic ability to set exitStatus 2017-08-01 07:49:26 -07:00
Timothy Clem
7079d7541c Merge pull request #1261 from github/exit-status
Exit status and structured logging with timing
2017-08-01 07:48:51 -07:00
Timothy Clem
867f66b75a Merge branch 'master' into exit-status 2017-08-01 07:44:32 -07:00
Rob Rix
9696a61c72 Merge pull request #1270 from github/xcode-shmexcode
🔥 the ignoring of Xcode artifacts.
2017-08-01 09:14:04 -04:00
Rob Rix
4188d582a2 🔥 the ignoring of Xcode artifacts. 2017-08-01 09:12:41 -04:00
Rob Rix
c9016cf717 Merge pull request #1269 from github/ignore-cabal-artifacts
Ignore cabal artifacts
2017-08-01 09:09:08 -04:00
Rob Rix
e002f66ea1 Ignore the dist-newstyle dir. 2017-08-01 09:04:52 -04:00
Rob Rix
a775237d81 Ignore the local cabal project file. 2017-08-01 09:04:42 -04:00