1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

14952 Commits

Author SHA1 Message Date
Timothy Clem
4e7f37fe8d Add otherside of break 2017-08-24 13:33:20 -07:00
Timothy Clem
0701df346c Fix elsif 2017-08-24 13:31:37 -07:00
Timothy Clem
554194d44d Fix return 2017-08-24 13:31:09 -07:00
Timothy Clem
74fe887fb0 Fix up if 2017-08-24 13:30:07 -07:00
Timothy Clem
85a33c9612 Some literals: numbers, strings, symbols 2017-08-24 13:29:46 -07:00
Timothy Clem
e5d2360fc9 when 2017-08-24 13:27:12 -07:00
Timothy Clem
435b3bfe51 if, unless, ternary 2017-08-24 13:26:17 -07:00
Timothy Clem
bac05bc538 Updated structure for until, while, yield 2017-08-24 13:23:41 -07:00
Timothy Clem
7150dbc792 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 13:14:52 -07:00
Timothy Clem
28aa9405e1 Fix up some expected output for new shape of Method 2017-08-24 11:46:26 -07:00
Timothy Clem
25f2ef742b Fix toc summaries for method declars with receivers 2017-08-24 11:44:58 -07:00
Timothy Clem
9ce7bb3f9f Ruby has methods, no need to weaken union 2017-08-24 09:21:01 -07:00
Timothy Clem
b762c789e8 Use assignment for the ruby language 2017-08-24 08:34:53 -07:00
Rob Rix
00e411adad Merge pull request #1309 from github/ignore-environment-files
Ignore cabal-generated environment files.
2017-08-22 12:33:30 -04:00
Rob Rix
762d3bf391 Ignore cabal-generated environment files. 2017-08-22 12:27:57 -04:00
Rob Rix
cba275b812 Merge pull request #1306 from github/assignment-optimization
Assignment optimization
2017-08-21 16:55:42 -04:00
Rob Rix
3125759abe Assign comments in decorators. 2017-08-21 15:51:54 -04:00
Rob Rix
f924b8b63c Don’t bother capturing the call stack. 2017-08-21 15:35:03 -04:00
Rob Rix
5f19a7415b Move assignmentCallSite up. 2017-08-21 15:34:37 -04:00
Rob Rix
6b7114ebc8 Construct better errors at the end of branches. 2017-08-21 15:33:42 -04:00
Rob Rix
c572e8d3bf Correct the AST type parameters. 2017-08-21 15:17:34 -04:00
Rob Rix
19d1fff2eb Merge branch 'master' into assignment-optimization 2017-08-21 12:43:03 -04:00
Timothy Clem
faf703cb10 Merge pull request #1304 from github/ruby-comments-and-other-assignment-fixes
Ruby comments and other assignment fixes
2017-08-21 08:59:03 -07:00
Timothy Clem
77409b0045 Move rational and complex in Data.Syntax.Literal 2017-08-21 08:44:33 -07:00
Rob Rix
e8abd3b705 🔥 a commented-out definition of Tracing. 2017-08-18 14:44:48 -04:00
Rob Rix
bac99d7105 Avoid throwing exceptions if callstack assumptions are invalidated. 2017-08-18 14:43:15 -04:00
Rob Rix
773644d040 We limit the call stacks now. 2017-08-18 10:41:14 -04:00
Rob Rix
e986ee3dce Ensure we can match single comments at the end of branches. 2017-08-18 10:40:50 -04:00
Rob Rix
0ad9ab5f44 Merge at-end rules into uncommitted choices. 2017-08-18 09:37:15 -04:00
Rob Rix
2ef277c4a3 Freeze the call stack we make errors with. 2017-08-18 09:31:17 -04:00
Rob Rix
81f72193e0 Ensure productivity for catch rules at end. 2017-08-18 09:29:14 -04:00
Rob Rix
30b6309cd1 Ensure productivity for label rules at end. 2017-08-18 09:24:26 -04:00
Rob Rix
bc4cee8b5f Avoid infinite looping on alternations of repetitions. 2017-08-18 09:06:31 -04:00
Rob Rix
9e2abcaa13 🔥 a redundant import. 2017-08-17 17:57:06 -04:00
Rob Rix
7b4fcec381 Fix the tests up. 2017-08-17 17:56:01 -04:00
Rob Rix
cb75a9bd41 Merge the atEnd cases. 2017-08-17 16:58:34 -04:00
Rob Rix
960e7f06d6 Explain myself. 2017-08-17 16:55:50 -04:00
Rob Rix
671894e657 Push and pop call sites from the stack. 2017-08-17 16:47:34 -04:00
Rob Rix
6c903e5038 Make errors with the passed-in stack. 2017-08-17 16:46:41 -04:00
Rob Rix
566e37ed5a What have I done 😨 2017-08-17 16:41:14 -04:00
Rob Rix
06007f319b Merge literal into expression. 2017-08-17 16:28:53 -04:00
Rob Rix
964157b256 Add fallbacks to committed choice. 2017-08-17 15:36:50 -04:00
Rob Rix
be10a2918f Tracing holds a single call site. 2017-08-17 15:09:23 -04:00
Rob Rix
8ee37dd1ea Rename the stateCallStack field to stateCallSites. 2017-08-17 11:56:16 -04:00
Rob Rix
d24a299d75 Add a call stack to the State. 2017-08-17 11:55:45 -04:00
Rob Rix
2e251ee244 Factor callstacks out into a helper functor. 2017-08-17 11:50:52 -04:00
Rob Rix
1a20c7e356 Revert "Choose holds regular assignments."
This reverts commit ab81e11ec69214fd5e6c3f368bfcbf4b6073d8cd.
2017-08-17 11:15:46 -04:00
Rob Rix
e3bb646ab6 Revert "Alt holds regular assignments."
This reverts commit 865f2429dcb6cf16151a0ade4b989bb276c10596.
2017-08-17 11:15:44 -04:00
Rob Rix
21439ba2f0 Revert "Assignment is completely self-contained."
This reverts commit 44fed1d491b8098518af1eaeb6846e342d4861d8.
2017-08-17 11:15:42 -04:00
Rob Rix
c092b347a0 Revert "Rename Return to Pure."
This reverts commit d259b76d176903f199b11d3f2ada1e493a88df1d.
2017-08-17 11:15:41 -04:00