1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00
Commit Graph

100 Commits

Author SHA1 Message Date
Timothy Clem
2d08451d87 Call [] Statements 2018-05-29 14:25:31 -07:00
Patrick Thomson
eaa54a3230 Add strict-equality function.
TypeScript, JavaScript, and PHP support an === operator, which
corresponds to strict equality (usually the equality you want). I've
added a constructor to Comparison that takes care of this. Actually
implementing non-strict equality for the above languages will have to
wait until we can build behavior a la carte.

I chose not to add Ruby's case-equality operator, though it uses ===,
since the behavior is so different. (For example, a === a is not
always true over Ruby's ===).
2018-05-23 11:28:31 -04:00
Rob Rix
101798fd39 Update a bunch of fixtures. 2018-05-16 16:38:40 -04:00
Patrick Thomson
6f63463269 Remove explicit Paren node from syntax trees.
As @robrix pointed out, adding explicit parenthesis nodes to our ASTs
bloats them with no added gain in expressivity. A pretty-printing
solution should use something analogous to `showsPrec` to ensure that
parentheses are printed properly.
2018-04-23 11:00:10 -04:00
Charlie Somerville
0d9cb46d07 add test cases for early return 2018-04-20 14:47:52 +10:00
Timothy Clem
ea0afa1747 Move corpus tests into their own dir 2018-04-18 13:33:17 -07:00
Patrick Thomson
d31e3eca88 fix ALL the test failures 2018-04-06 13:05:28 -04:00
Timothy Clem
4b9caec4c5 Fix up tests for Name wrapper 2018-04-04 08:59:13 -07:00
Timothy Clem
568adc1477 TypeScript import syntax changed - update fixtures 2018-04-02 15:11:45 -07:00
Timothy Clem
61327b7242 Cleanup this ts fixture 2018-04-02 14:53:24 -07:00
Timothy Clem
a3d35ac9a0 WIP: Attempt to back out Identifiers as qualified names 2018-04-02 10:40:52 -07:00
Timothy Clem
e770aaec35 Fix up Import graph output 2018-03-27 10:20:41 -07:00
Timothy Clem
e2d13b6cdc Fix up specs 2018-03-27 10:20:28 -07:00
Timothy Clem
c46000c74d Fail if trying to re-export something not defined in the imported module 2018-03-15 10:33:08 -07:00
Timothy Clem
aeb49477a1 Update integration fixtures for changes to assignment 2018-03-14 16:13:41 -07:00
Timothy Clem
48acfa70df Test out side effect imports in TypeScript 2018-03-12 10:45:34 -07:00
Timothy Clem
dc96cde7cd Test out some TypeScript imports 2018-03-09 15:54:52 -08:00
Timothy Clem
a6bb1452dc Fix up TypeScript fromClause to support relatives paths hack 2018-03-09 15:54:29 -08:00
Timothy Clem
750cfc6b17 Merge remote-tracking branch 'origin/typescript-exports' into more-typescript-imports 2018-03-09 12:46:58 -08:00
joshvera
b26ec32a00 Fix tests 2018-03-08 19:05:27 -05:00
Timothy Clem
f00a2568bd Merge remote-tracking branch 'origin/typescript-exports' into more-typescript-imports 2018-03-08 15:28:34 -08:00
Timothy Clem
b223668665 Merge remote-tracking branch 'origin/typescript-exports' into more-typescript-imports 2018-03-08 15:19:55 -08:00
joshvera
304034e825 update foo.ts 2018-03-08 18:09:33 -05:00
Timothy Clem
a8775d3f0d Update import graph rendering for qualified calls 2018-03-08 15:06:08 -08:00
Timothy Clem
f76b7e4a2d Bunch of test fixes due to TypeScript assignment changes 2018-03-08 15:05:41 -08:00
Timothy Clem
60b38e4987 Don't commit generated .js files here 2018-03-08 14:15:42 -08:00
Timothy Clem
fd6db359c1 Fix notes about running tsc 2018-03-08 14:15:42 -08:00
joshvera
60721252cf Merge remote-tracking branch 'origin/environment-scoping' into typescript-exports 2018-03-08 16:49:14 -05:00
Timothy Clem
74675d6731 Fix up TypeScript import-graph output and tests 2018-03-08 11:37:41 -08:00
Timothy Clem
24a470ba7a FreeVariable Name as NonEmpty List 2018-03-08 09:34:09 -08:00
Timothy Clem
948162c88d Fix up tests again 2018-03-08 07:57:18 -08:00
joshvera
a150903d04 Update typescript analysis 2018-03-07 15:06:47 -05:00
joshvera
af4a489594 update typescript example 2018-03-07 11:56:27 -05:00
Timothy Clem
61f6d0314b Fix up a few tests 2018-03-06 11:02:29 -08:00
Timothy Clem
197c6320db Small TypeScript analysis example 2018-03-06 10:15:09 -08:00
Patrick Thomson
1da2668d60 Fix end-to-end tests. 2018-03-02 15:30:51 -08:00
joshvera
68e4bd3f44 Allow nested identifiers in JSX elements and optional JXAttribute assignments 2018-02-14 09:40:15 -05:00
Timothy Clem
aed971ed07 Merge branch 'master' into import-graph 2018-02-12 10:11:29 -08:00
Timothy Clem
fb000828ed Test out import-graph output for relevant languages 2018-02-07 12:20:41 -08:00
joshvera
819664e2f7 Merge remote-tracking branch 'origin/master' into php-assignment 2018-01-25 17:46:00 -05:00
joshvera
0e6b98239a Regenerate tests 2018-01-16 18:24:58 -05:00
joshvera
cbb003499f Add a import require test 2018-01-16 18:17:12 -05:00
Timothy Clem
88fe5fc46a Fix up TypeScript tests for new structure of Import 2018-01-15 20:15:44 -07:00
joshvera
df973897fa Fix boolean operator tests 2017-12-27 14:50:33 -05:00
Rob Rix
10b8de93b3 Update the fixtures. 2017-12-01 17:13:24 -05:00
Rick Winfrey
921cce09d8 Regenerate tests 2017-11-28 14:28:59 -08:00
Timothy Clem
3fc53af5e0 classBody doesn't need to be a list 2017-11-08 14:00:08 -08:00
Josh Vera
8dd19297d4 Merge branch 'master' into typescript-fixes 2017-11-03 13:58:13 -04:00
joshvera
27979eb2e8 Regenerate tests 2017-10-31 18:10:42 -04:00
joshvera
5922f4db99 update class tests 2017-10-31 11:05:51 -04:00