1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

20505 Commits

Author SHA1 Message Date
Timothy Clem
7894b3d1bf Merge remote-tracking branch 'origin/master' into charliesome/ruby-method-calls 2018-04-09 17:36:56 -07:00
Timothy Clem
acb4607c43 Merge pull request #1730 from github/fail-on-warning
New flag to fail on warning so that `script/parse-examples` actually fails the build
2018-04-09 14:05:36 -07:00
Timothy Clem
7b54a26859 Order matters here - fix parse-examples 2018-04-09 13:39:17 -07:00
Timothy Clem
a29af60bf2 Merge remote-tracking branch 'origin/master' into fail-on-warning 2018-04-09 13:28:45 -07:00
Timothy Clem
17ae13474d Flag to fail on assignment warnings 2018-04-09 13:17:23 -07:00
joshvera
2e84f8a637 Revert "Merge pull request #1728 from github/revert-ruby-method-calls"
This reverts commit 96fc6114d8d1d74c42d3971aa24e6a484de52933, reversing
changes made to 2f9da5213ef4cac0048339c9f84c33b873e88cc2.
2018-04-09 16:10:05 -04:00
joshvera
7e1330c5e8 Merge remote-tracking branch 'origin/master' into charliesome/ruby-method-calls 2018-04-09 16:09:48 -04:00
Rick Winfrey
a36444db0f bump haskell-tree-sitter 2018-04-09 16:09:44 -04:00
Josh Vera
e2e0e94ca4 Merge pull request #1728 from github/revert-ruby-method-calls
Revert "Merge pull request #1726 from github/charliesome/ruby-method-calls"
2018-04-09 16:08:13 -04:00
joshvera
b012b97571 Revert "Merge pull request #1726 from github/charliesome/ruby-method-calls"
This reverts commit 3729f84c487cb2613fd99eca4c6cdb2178c88806, reversing
changes made to d8f0566783407780c1a0d0855f43200530887c54.
2018-04-09 14:45:34 -04:00
Rick Winfrey
c8b26b0800 Merge pull request #1721 from github/bump-haskell-tree-sitter
Bump haskell-tree-sitter
2018-04-09 10:55:54 -07:00
Rick Winfrey
2a3024483f Merge branch 'master' into bump-haskell-tree-sitter 2018-04-09 10:47:49 -07:00
Josh Vera
e6854fd5ef Merge pull request #1726 from github/charliesome/ruby-method-calls
Add special Ruby.Syntax.Send node type
2018-04-09 13:19:18 -04:00
joshvera
48e180f058 Merge remote-tracking branch 'origin/master' into charliesome/ruby-method-calls 2018-04-09 13:14:18 -04:00
joshvera
9485a635dc Return the subtermValue of sendSelector if there's no receiver 2018-04-09 13:04:38 -04:00
joshvera
341954f0e4 No need to add a CustomHasDeclaration instance for Send 2018-04-09 13:03:32 -04:00
Josh Vera
a8e5cb0260 Merge branch 'master' into bump-haskell-tree-sitter 2018-04-09 11:58:02 -04:00
Josh Vera
9551c7a62d Merge pull request #1727 from github/ruby-assignment-heredoc-fix
Fix for ruby assignment with funny places heredocs can appear
2018-04-09 11:57:35 -04:00
Patrick Thomson
c234be97ee Merge branch 'master' into bump-haskell-tree-sitter 2018-04-09 10:47:19 -04:00
Charlie Somerville
93fcc60b86 analysis: implement declaration analysis for Send node 2018-04-09 12:04:11 +10:00
Charlie Somerville
774ed642bf ruby: update test fixtures 2018-04-09 12:04:11 +10:00
Charlie Somerville
76726e194c ruby: change sendBlock field type to Maybe a 2018-04-09 12:04:11 +10:00
Charlie Somerville
1b998409d3 ruby: implement Send 2018-04-09 12:04:11 +10:00
Charlie Somerville
4f30c84add ruby: implement blocks in Send 2018-04-09 12:04:11 +10:00
Charlie Somerville
08b581c02b ruby: add special Send node type for method calls 2018-04-09 12:04:11 +10:00
Timothy Clem
516c9ecaaa Fix for ruby assignment with funny places heredocs can appear 2018-04-07 17:06:18 -07:00
Josh Vera
b39b2685fb Merge pull request #1709 from github/repo-import-graph
Evaluate import graphs of repositories
2018-04-06 17:33:16 -04:00
joshvera
40f8f3a85a Yield the name to resolve 2018-04-06 15:59:19 -04:00
joshvera
0e338ba352 beautify 2018-04-06 15:09:20 -04:00
Rick Winfrey
a56763cb4e bump haskell-tree-sitter 2018-04-06 12:06:07 -07:00
Josh Vera
d4bcfae104 Merge branch 'master' into repo-import-graph 2018-04-06 13:21:30 -04:00
Josh Vera
1b9b8611ba Merge pull request #1720 from github/parens
Preserve parentheses in syntax trees.
2018-04-06 13:21:10 -04:00
joshvera
eccfcd1b5e remove arg 2018-04-06 13:18:47 -04:00
joshvera
2e064a034c remove redundant imports 2018-04-06 13:14:43 -04:00
joshvera
5b7cdb236b standardize on eval and eta reduce 2018-04-06 13:13:51 -04:00
Patrick Thomson
d31e3eca88 fix ALL the test failures 2018-04-06 13:05:28 -04:00
joshvera
cc21e22a9b Fix test fixtures 2018-04-06 12:42:24 -04:00
joshvera
03c69cc2f9 Fix runEvaluatingWithPrelude 2018-04-06 12:37:09 -04:00
joshvera
56af15be92 Modify mergeNewer to merge from global envs to local envs 2018-04-06 12:37:01 -04:00
Patrick Thomson
a6a04f53bd Fix Ruby. 2018-04-06 12:26:11 -04:00
joshvera
a839aef0ec Import prelude in evaluatePythonProject 2018-04-06 11:57:36 -04:00
Patrick Thomson
611b0f3276 Remember parentheses in syntax trees.
Adding this wasn't particularly hard. Just need to ensure we don't
throw the tokens from the parser away.

To test, evaluate `5 * (2 / 3)` versus `5 * 2 / 3`.
2018-04-06 11:43:48 -04:00
joshvera
0f96c4892a redundant constraints 2018-04-06 11:10:00 -04:00
joshvera
b02361eddd Add another either 2018-04-05 20:08:07 -04:00
joshvera
1f441ec518 Merge remote-tracking branch 'origin/master' into repo-import-graph 2018-04-05 19:50:59 -04:00
joshvera
fde2253fc5 pure? 2018-04-05 19:49:50 -04:00
joshvera
0483417771 Remove require_dependency stub 2018-04-05 19:39:32 -04:00
joshvera
4e8569ed01 add an asBool fail to MonadValue Type 2018-04-05 18:46:58 -04:00
joshvera
e927d5fd75 yield the env if there's a namespace error 2018-04-05 18:45:26 -04:00
joshvera
0997ee81e2 Add Numeric2Error and remove TypeError 2018-04-05 18:14:33 -04:00