8464 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
f99227b330 Accept baselines 2015-10-22 13:28:54 -07:00
Nathan Shively-Sanders
36050cdefd Update diagnostic text to use ES2015, not ES6. 2015-10-22 13:23:12 -07:00
Vladimir Matveev
ece96ac8a4 Merge pull request #5360 from Microsoft/runTestsBrowserOnLinux
pick default chrome location based on platform
2015-10-22 08:59:40 -07:00
Vladimir Matveev
0834a29b15 pick default chrome location based on platform 2015-10-21 17:04:18 -07:00
Vladimir Matveev
9afc2b3c8f Merge pull request #5355 from Microsoft/initFieldsInConstructor
pre-initialize Node fields in constructor
2015-10-21 16:07:19 -07:00
Vladimir Matveev
7c064af052 initialize fields from constructor parameters 2015-10-21 15:33:30 -07:00
Vladimir Matveev
7fc29d1b62 pre-initialize node fields in constructor 2015-10-21 13:49:51 -07:00
Vladimir Matveev
402baba28b Merge pull request #5353 from Microsoft/tokenFollowingMultilineComment
do not indent token if its start line matches end line of previous to…
2015-10-21 13:35:55 -07:00
Vladimir Matveev
912e49b668 do not indent token if its start line matches end line of previous token\trivia 2015-10-21 12:49:14 -07:00
Ryan Cavanaugh
853e9a2462 Merge pull request #5295 from RyanCavanaugh/detectAdjacentJsxElements
Better error recovery for adjacent JSX elements in expression positions
2015-10-20 13:16:02 -07:00
Anders Hejlsberg
a8fa81b187 Merge pull request #5344 from Microsoft/excessPropertiesWithUnion
Fix excess property check in union and intersection types
2015-10-20 13:05:51 -07:00
Ron Buckton
c3f36e145d Merge pull request #5343 from Microsoft/fixES6LetInModule
Fixes emitExpressionIdentifier when combining --target ES6 with --module.
2015-10-20 12:51:13 -07:00
Anders Hejlsberg
a22f9b87bd Adding test 2015-10-20 12:40:39 -07:00
Anders Hejlsberg
6d8950e13c Fix check for excess properties in union and intersection types 2015-10-20 12:39:43 -07:00
Ron Buckton
c627802a43 Tests 2015-10-20 12:32:49 -07:00
Ron Buckton
85e587e1d3 Fixes issue in emitExpressionIdentifier when combining --target ES6 with --module.
Fixes #5315.
2015-10-20 10:59:23 -07:00
Zhengbo Li
1b3640760b Merge pull request #5263 from zhengbli/pr5127cr
Address code review of #5127
2015-10-19 22:01:15 -07:00
zhengbli
39254b54ae CR feedback 2015-10-19 21:48:40 -07:00
Vladimir Matveev
fb97e2f745 Merge pull request #5310 from Microsoft/convertConfigOptionsToCompilerOptions
extract 'convertCompilerOptionsFromJson' to separate function
2015-10-19 15:48:12 -07:00
Nathan Shively-Sanders
f9c40d11a9 Merge pull request #5267 from Microsoft/disallow-primitive-assignability-to-index-of-any
Disallow primitive assignability to indexer of type any
2015-10-19 15:48:04 -07:00
Daniel Rosenwasser
683eec0d07 Merge pull request #5321 from Microsoft/updateContributingMdTestOptions
Updated test options in 'CONTRIBUTING.md'.
2015-10-19 15:22:21 -07:00
Daniel Rosenwasser
67d43ad75f Just say all compiler options are supported. 2015-10-19 14:22:00 -07:00
Daniel Rosenwasser
174f8c3e6e Fixups. 2015-10-19 11:49:21 -07:00
Vladimir Matveev
9fa268a44a addressed PR feedback 2015-10-19 10:15:59 -07:00
Daniel Rosenwasser
28c2887d50 Merge pull request #5322 from jvilk/master
Change ArrayBuffer.isView declaration to type guard for ArrayBufferView.
2015-10-18 20:30:29 -07:00
Daniel Rosenwasser
e2c858fee6 Minor fixups. 2015-10-18 19:08:41 -07:00
John Vilk
f10c7cc154 Change ArrayBuffer.isView declaration to type guard for ArrayBufferView.
Also adds a test that checks that `ArrayBuffer.isView` appropriately narrows its argument to `ArrayBufferView`.

Fixes #5308.
2015-10-18 20:05:30 -04:00
Daniel Rosenwasser
14ea332d94 Updated test options in 'CONTRIBUTING.md'. 2015-10-18 16:34:02 -07:00
Nathan Shively-Sanders
0b580c4754 Merge pull request #5307 from Microsoft/add-debug-instructions-to-contributing
Add instructions on how to debug tests to CONTRIBUTING.md
2015-10-18 07:54:06 -07:00
Nathan Shively-Sanders
72d6ec0667 Add missing newline after runtests/debug 2015-10-18 07:39:17 -07:00
Nathan Shively-Sanders
1c4a1169f2 Add debug=true option also 2015-10-18 07:35:56 -07:00
Vladimir Matveev
0bd50ca08c extract 'convertCompilerOptionsFromJson' to separate function 2015-10-17 14:36:12 -07:00
Nathan Shively-Sanders
952ea0f82b Add instructions on how to debug tests 2015-10-17 11:38:55 -07:00
Daniel Rosenwasser
6aeec13d7e Merge pull request #5293 from Microsoft/bumpTo1.8
Bump version number to 1.8
2015-10-16 18:00:09 -07:00
Mohamed Hegazy
e98a76fb62 Merge pull request #5257 from Microsoft/module-merge-with-constructors
Module merge with constructors
2015-10-16 16:55:57 -07:00
Mohamed Hegazy
bb369f1423 Merge pull request #5290 from Microsoft/interfaceClassMergingFix
Do not report errors for classes and interfaces merging
2015-10-16 16:45:31 -07:00
Mohamed Hegazy
8b8d33d8b8 Fix comments 2015-10-16 16:29:11 -07:00
Nathan Shively-Sanders
a8aa48e73f Merge pull request #5230 from Microsoft/ambient-class-merges-overloads-with-interface
Ambient class merges overloads with interface
2015-10-16 15:08:59 -07:00
Ron Buckton
5b9469850a Merge pull request #5294 from Microsoft/fixDecoratorSwitch
Fixes an issue with decorators when compiling using tsc.exe
2015-10-16 14:54:07 -07:00
Ron Buckton
81e784c01e Fixed linter error 2015-10-16 14:36:36 -07:00
Ryan Cavanaugh
6ccb2a5ef2 Better error recovery for adjacent JSX elements in expression positions
Fixes #5286
2015-10-16 13:47:57 -07:00
Ron Buckton
798ffa763d Switched switch statement to if branches.
Fixes #5229.
2015-10-16 12:36:51 -07:00
Daniel Rosenwasser
d8237dc2f3 Updated the LKG. 2015-10-16 12:31:29 -07:00
Daniel Rosenwasser
3749fe854d Bumped version to 1.8.0. 2015-10-16 12:28:48 -07:00
zhengbli
e7e1fa72ec Add sortBeforeComparison option back to arrayIsEqualTo 2015-10-16 12:00:31 -07:00
Mohamed Hegazy
35a303ac01 Do not report errors for classes and interfaces merging 2015-10-16 10:54:35 -07:00
zhengbli
ea9bf7313a CR feedback 2015-10-15 13:53:37 -07:00
Nathan Shively-Sanders
302db0a9d5 Merge pull request #5272 from Microsoft/es2015-target
Add ES2015 as a synonym to ES6
2015-10-15 12:46:47 -07:00
Nathan Shively-Sanders
53188d9cb8 Add ES2015 as a synonym to ES6
In ModuleKind, ScriptTarget and associated command line arguments.
2015-10-15 11:35:52 -07:00
Nathan Shively-Sanders
5cd0ca19af Add test case, correct existing test case
Existing: String assignment to a numeric indexer should succeed, not fail.
  (The baseline was already correct but the inline comment was wrong.)
New: Boolean assignment to a numeric indexer should fail.
2015-10-15 11:04:36 -07:00