Andrew Branch
8576018af1
Add failing test for function calls that have at least one non-spread argument, a spread argument, and overall potentially too few arguments
2019-04-04 11:47:25 -07:00
Collins Abitekaniza
7b55d1846b
Giving too many arguments should error on the first argument that exceeds arity ( #27982 )
...
* span on first arg that exceeds arity
* refactor baseline
* handle cases for spread arguments
* refactor + add coverage for tuple spread cases
* create diagnostic on NodeArray of exceeding args
* test function overloading
2019-03-12 15:57:12 -07:00
Jack Williams
342fda98d8
Allow trailing void arguments to be omitted
2018-10-03 19:35:05 +01:00
Nathan Shively-Sanders
865f3281bc
Update spread tests w/new excess arguments error
2017-11-16 09:39:31 -08:00
Nathan Shively-Sanders
cefcc668a8
Correct test argument in callwithSpread2
2017-05-15 10:55:58 -07:00
Nathan Shively-Sanders
4c80aa17b3
Clean up comments in tests
2017-05-15 10:38:51 -07:00
Nathan Shively-Sanders
9ba0668afa
Test:spread array after required params
2017-05-15 10:20:28 -07:00
Ron Buckton
cbec19afd7
Ensure transformFlags are correct before visiting a node.
2016-11-03 17:21:36 -07:00
Tingan Ho
78a36c0cee
Fixes concat style
2015-05-16 16:42:49 +08:00
Tingan Ho
629b4bbfdf
Saved
2015-05-15 15:45:08 +08:00
Tingan Ho
a97ea4b657
Corrects old tests.
2015-05-15 08:38:44 +08:00
Tingan Ho
fdfbcf6ffc
Adds tests
2015-05-15 08:38:43 +08:00
Anders Hejlsberg
bbe51cfafe
Adding tests
2015-02-04 15:39:57 -08:00
Anders Hejlsberg
34ed45df8e
Adding more tests
2015-02-02 10:26:31 -08:00
Anders Hejlsberg
005676005f
Adding test
2015-01-30 14:14:22 -08:00
Jason Freeman
6fb3c34681
Conformance coverage for spec change #589
2014-09-05 18:44:49 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00