Rob Rix
|
83c6797fa9
|
Extract a handleError combinator.
|
2017-08-02 15:59:47 -04:00 |
|
Rob Rix
|
306c4ee42e
|
Remove the redundant type parameter from Assignment.
|
2017-08-02 15:58:45 -04:00 |
|
Rob Rix
|
b6e064e187
|
Note that we should log assignment errors.
|
2017-08-02 15:50:22 -04:00 |
|
Rob Rix
|
69b66fcf21
|
Separate warnings for parsing & assignment errors in the tree.
|
2017-08-02 15:49:56 -04:00 |
|
Rob Rix
|
7d07624f4e
|
Add an error handler to the Python expression rule.
|
2017-08-02 15:42:13 -04:00 |
|
Rob Rix
|
c2e2aa9b7c
|
Log the details of assignment errors in the tree.
|
2017-08-02 15:35:06 -04:00 |
|
Rob Rix
|
6821e463d0
|
Add optional assignment errors to Syntax.Error.
|
2017-08-02 15:31:12 -04:00 |
|
Rob Rix
|
bc0df93593
|
Derive Foldable, Functor, & Traversable instances for Error.
|
2017-08-02 15:30:53 -04:00 |
|
Rob Rix
|
af6a3c8b75
|
Correct an obsolete comment.
|
2017-08-02 15:18:03 -04:00 |
|
Rob Rix
|
c8bedceabe
|
Rename the type parameter for the parent context.
|
2017-08-02 15:12:50 -04:00 |
|
Rob Rix
|
f9976fd144
|
🔥 more redundant parens.
|
2017-08-02 15:04:02 -04:00 |
|
Rob Rix
|
fe1d3cb4db
|
🔥 redundant parens.
|
2017-08-02 15:03:45 -04:00 |
|
Rob Rix
|
2cc13c427d
|
🔥 Capture & Escape.
|
2017-08-02 15:00:06 -04:00 |
|
Rob Rix
|
aef66153d9
|
Remove the capture/escape from the Python grammar.
|
2017-08-02 14:59:53 -04:00 |
|
Rob Rix
|
9b1bd71523
|
Change the result type to reflect the rest of iteration.
|
2017-08-02 14:45:57 -04:00 |
|
Rob Rix
|
f2ae2cadd9
|
Run the delimited assignment.
|
2017-08-02 14:16:51 -04:00 |
|
Rob Rix
|
6e2f3a4358
|
Stub in an attempt at resolving assignment errors in Python expressions.
|
2017-08-02 14:10:54 -04:00 |
|
Rob Rix
|
ced0c5bfa5
|
Define smart constructors for capture & escape.
|
2017-08-02 14:05:34 -04:00 |
|
Rob Rix
|
7738dd991c
|
Correct the type of the continuation.
|
2017-08-02 14:05:04 -04:00 |
|
Timothy Clem
|
2564a48dd1
|
Merge pull request #1273 from github/print-source
Autodetect print source
|
2017-08-02 11:01:28 -07:00 |
|
Rob Rix
|
99f80fee90
|
Add an Escape constructor to AssignmentF.
|
2017-08-02 13:59:17 -04:00 |
|
Rob Rix
|
633f8b2c8e
|
Add a Capture constructor to AssignmentF.
|
2017-08-02 13:57:29 -04:00 |
|
Rob Rix
|
cc21edd3bb
|
Add a final result type parameter to Assignment.
|
2017-08-02 13:51:22 -04:00 |
|
Timothy Clem
|
1a5ffa9bcd
|
Merge branch 'master' into print-source
|
2017-08-02 10:44:31 -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 |
|
Rick Winfrey
|
9f791d877b
|
Shim for handling comments when they are siblings to decorators
|
2017-08-01 18:20:30 -07:00 |
|
Rick Winfrey
|
9937b5371d
|
Restrict decorated definition final expressions (for better errors)
|
2017-08-01 18:19:56 -07:00 |
|
Rick Winfrey
|
462bccb66e
|
Assign comments in concatenated strings as empty string
|
2017-08-01 18:19:18 -07:00 |
|
Rick Winfrey
|
ef907b81d7
|
Many comment is too greedy (and not necessary here)
|
2017-08-01 17:21:56 -07:00 |
|
Rick Winfrey
|
51d3298282
|
Elide comments from boolean operator expressions
|
2017-08-01 17:07:31 -07:00 |
|
Rick Winfrey
|
a2bb8479a3
|
Elide comments from comprehensions
|
2017-08-01 17:02:50 -07:00 |
|
Rick Winfrey
|
f486f2c41a
|
Elide comments preceeding a binary operator but after the left hand expression
|
2017-08-01 16:54:12 -07:00 |
|
Rick Winfrey
|
a2dd9de441
|
Handle comments in problematic locations for conditional expressions
|
2017-08-01 16:52:38 -07:00 |
|
Rick Winfrey
|
09889b86d5
|
Capture expressions on right hand side of binary operator expressions
|
2017-08-01 16:52:19 -07:00 |
|
Rick Winfrey
|
61a5fd0200
|
Capture expressions on the right hand side (to include comments)
|
2017-08-01 16:51:39 -07:00 |
|
Rick Winfrey
|
ada6eb2d51
|
Not all expressions have WithItem the symbol
|
2017-08-01 16:51:12 -07:00 |
|
Timothy Clem
|
10ad4e29f6
|
Autodetect print source
|
2017-08-01 15:05:25 -07:00 |
|
Rick Winfrey
|
e6bcf3ac82
|
Allow comments after decorator line
|
2017-08-01 12:53:33 -07:00 |
|
Rick Winfrey
|
921bc1db2d
|
Assign argument list
|
2017-08-01 12:47:45 -07:00 |
|
Rick Winfrey
|
61a34fe866
|
Assign comments in decorator definitions
|
2017-08-01 11:53:38 -07:00 |
|
Rick Winfrey
|
1d56e79950
|
Merge branch 'master' into bump-tree-sitter-python
|
2017-08-01 10:12:18 -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 |
|