Jan Hrček
915937c4be
Fix some hlint warnings
2019-06-16 13:40:13 +02:00
Jan Hrček
ec4248cbb4
Fix warnings in tests
...
27 [-Wunused-matches]
7 [-Wmissing-export-lists]
6 [-Wunused-imports]
5 [-Wmissing-signatures]
2 [-Wincomplete-uni-patterns]
1 [-Wunused-top-binds]
1 [-Wtype-defaults]
2019-06-15 08:56:59 +02:00
Patrick Thomson
bfdb4a1de7
Clean up specs with some implicit parameters.
...
Test cases are a good use of `-XImplicitParams`, because often one
finds oneself plumbing a bunch of parameters obtained from IO through
a dozen layers of pure functions. Implicit parameters make this sort
of passing significantly easier.
Fixes #128 .
2019-06-12 13:55:14 -04:00
Patrick Thomson
b8cb9d1bfa
Remove unused imports.
2019-06-12 12:52:11 -04:00
Patrick Thomson
7aeb88227a
Just don't optimize these specs for now.
2019-06-10 18:53:20 -04:00
Timothy Clem
70ea830460
Fix up test for ModuleInfo changes
2019-03-27 15:57:55 -07:00
Timothy Clem
ce04fa8f12
Refactor runTask
2019-02-01 15:04:23 -08:00
Rick Winfrey
11cf3b5128
Extract type synonyms for EvalError and TypeScript term
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-28 10:47:54 -08:00
Rick Winfrey
9232caf32a
Update spec with correct annotation
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-28 10:40:37 -08:00
Rick Winfrey
1685a9fa88
Construct terms and values rather than compare against strings
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-28 10:26:40 -08:00
Rick Winfrey
381dd17494
Update wording to be less confusing
2019-01-23 14:50:37 -08:00
Rick Winfrey
4180cd7f4c
Remove pragma
2019-01-22 17:30:33 -08:00
Rick Winfrey
b79638ab7d
Add string based private method spec for now
2019-01-18 14:08:48 -08:00
Rick Winfrey
30ef3ab52b
Imports
2019-01-18 14:08:36 -08:00
Rick Winfrey
9c887e7eee
Ensure private static field definitions are not accessible by external member access
2019-01-17 17:21:16 -08:00
Rick Winfrey
a5fcc3f1df
Ensure private field definitions throw when accessed via external syntax
2019-01-17 17:17:53 -08:00
Rick Winfrey
4998421038
Compare directly against SomeError ...
rather than String
values
...
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-17 14:02:54 -08:00
Rick Winfrey
c7b1d13ab0
Compare against strings
2019-01-17 12:50:33 -08:00
Rick Winfrey
d4abe75456
Merge branch 'master' into visibility-resolution
2019-01-16 18:31:44 -08:00
Rick Winfrey
12e63cac6d
Comment this for now
2019-01-16 18:19:51 -08:00
Rick Winfrey
b1784c0058
WIP: this currently fails to compile but indicates what I would like to destructure and assert against
2018-12-20 17:05:50 -08:00
Rob Rix
6bce2b117f
Merge branch 'master' into factor-abstract-value-as-value-effects
2018-12-18 11:15:58 -05:00
Rick Winfrey
e58c21e457
Add failing accessibility test case
2018-12-14 17:06:29 -08:00
Rick Winfrey
76f4e2bc87
Add public field test for TypeScript
...
Co-Authored-By: Josh Vera <vera@github.com>
2018-12-13 14:20:42 -08:00
Rick Winfrey
006ad8085d
💅 alignment
2018-12-13 13:41:45 -08:00
Rob Rix
ace844a004
Use the Float constructor.
2018-12-13 11:34:56 -05:00
Rob Rix
916e0acf26
Fix ambiguous references to the Integer constructor.
2018-12-13 11:11:08 -05:00
Rob Rix
52863de0e3
Fix alignment.
2018-12-13 11:10:08 -05:00
joshvera
de1719c128
Merge remote-tracking branch 'origin/master' into new-expressions
2018-12-12 15:59:41 -05:00
Rob Rix
89793d2cf5
Fix the specs.
2018-12-11 17:21:57 -05:00
joshvera
9508518acf
Merge remote-tracking branch 'origin/master' into new-expressions
2018-12-11 13:13:37 -05:00
Rob Rix
4c796843e7
🔥 all the non-empty lists in the specs.
2018-12-11 13:07:45 -05:00
Rob Rix
35fd93be1c
Merge branch 'master' into evaluate-to-values
2018-12-11 09:12:48 -05:00
joshvera
e0a11fac91
Fix heap test since we construct one for a console namespace now
2018-12-10 16:58:08 -05:00
joshvera
5255562e05
Remove comments
2018-12-10 16:21:57 -05:00
joshvera
1d49437996
Remove a.ts from test
...
This test doesn't use it
2018-12-07 16:55:01 -05:00
Rob Rix
0b36f9bad1
Module results hold values.
2018-12-07 15:23:03 -05:00
joshvera
8dbdc7ded2
Remove comments
2018-12-07 11:29:35 -05:00
Rob Rix
7e20624506
Correct the test of bad exports.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-12-06 12:59:16 -05:00
joshvera
eae6b7c8b3
Add tests for QualifedExportFrom
2018-12-05 15:07:37 -05:00
joshvera
a2026e8ada
Add valueRef tests back
2018-12-05 12:44:52 -05:00
joshvera
781e52f843
Format and remove Environment
2018-12-05 10:14:16 -05:00
joshvera
debefff57c
Differentiate between Import and Superclass edge tests
2018-12-04 11:24:01 -05:00
joshvera
983165b437
Remove redundant side effect test
...
Covered by "side effect only imports dont expose exports"
2018-11-29 20:19:40 -05:00
joshvera
0cd64662f2
Rename Address to Slot
2018-11-29 20:07:30 -05:00
joshvera
17c4bf350c
Add lookupObjectMembers function to tests
2018-11-29 19:37:20 -05:00
joshvera
70fa31f11e
Fix expectation of sequence expression test
2018-11-29 18:38:32 -05:00
Rick Winfrey
2b1ed70230
Fix up TypeScript tests
2018-11-28 17:39:01 -08:00
joshvera
65a8949a06
Fix the shape of scope and heap outputs in testEvaluating
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:47:10 -05:00
joshvera
fd516f0573
Fix Delete test since JS delete deletes the slot
2018-11-27 11:14:21 -05:00