Commit graph

3594 commits

Author SHA1 Message Date
Jason Freeman
4c0122d879 Move computed property checks so that they will be checked in classes and interfaces 2015-01-19 16:36:46 -08:00
Jason Freeman
4ac2b4b9c8 Add tests for object literals with computed properties 2015-01-19 16:36:43 -08:00
Jason Freeman
7192767a00 Add type checking for computed properties in object literals 2015-01-19 16:36:39 -08:00
Jason Freeman
ef06879a75 Create symbols for computed properties 2015-01-19 16:36:36 -08:00
Jason Freeman
d192fea774 Switch checkObjectLiteral to iterate over element declarations 2015-01-19 16:36:32 -08:00
Jason Freeman
15187e5e1d Enable computed properties 2015-01-19 16:36:28 -08:00
Mohamed Hegazy
8d5b65a533 Merge pull request #1654 from csnover/fix-1653
Use system line ending in services compiler host
2015-01-19 15:54:27 -08:00
Yui T
6cda0708f0 Merge branch 'fixUnicodeComparisonTest262' of https://github.com/Microsoft/TypeScript into fixUnicodeComparisonTest262
Conflicts:
	src/harness/harness.ts
2015-01-19 15:54:11 -08:00
Yui T
c727efd323 Fix unicode comparision and counting error for test262 2015-01-19 15:48:40 -08:00
Ryan Cavanaugh
7b2579964c Automatic bisecting script 2015-01-19 15:39:21 -08:00
Yui T
562244ec41 Fix unicode comparision and counting error for test262 2015-01-19 14:58:34 -08:00
Anders Hejlsberg
a2ecaf60f0 Merge branch 'master' into tsconfig 2015-01-19 14:50:18 -08:00
Anders Hejlsberg
9c802e7bd3 Modifying logic to watch files at all times in -watch mode 2015-01-19 14:45:23 -08:00
Anders Hejlsberg
efd9f60d14 Allow union types in indexing expressions. 2015-01-19 10:48:01 -08:00
Colin Snover
d736014f35 Expose optional getNewLine for language service hosts
Fixes #1653.
2015-01-19 05:02:36 +00:00
Anders Hejlsberg
af61e6424a Watch for changes to tsconfig.json in -watch mode 2015-01-18 17:40:05 -08:00
Jason Freeman
1e8e65c839 Merge pull request #1699 from Microsoft/instrumenterFix
Change sys to ts.sys in instrumenter
2015-01-16 15:57:18 -08:00
Jason Freeman
ca9cd9af2b Change sys to ts.sys in instrumenter 2015-01-16 15:25:39 -08:00
Sheetal Nandi
c46662fa72 Fixes the duplicate doc comment display in case of union property
Handles #1237
2015-01-16 12:58:10 -08:00
Anders Hejlsberg
bce15cb368 Fixing negated language version checks 2015-01-16 07:15:31 -08:00
Anders Hejlsberg
c342b58b23 Adding reference to core.ts in sys.ts 2015-01-15 18:18:19 -08:00
Anders Hejlsberg
ee6f2faabb Accepting baselines for corrected error messages 2015-01-15 17:19:22 -08:00
Anders Hejlsberg
960d92f9b6 Default to all files only when none are specified in tsconfig.json 2015-01-15 17:12:45 -08:00
Yui T
ba239c5812 Address code review 2015-01-15 17:12:44 -08:00
Daniel Rosenwasser
5bcb52f9b0 Merge pull request #1676 from Microsoft/disallowOptionalBindingParameters
Disallow optional destructured parameters in implementation signatures.
2015-01-15 16:55:14 -08:00
Daniel Rosenwasser
2a11222050 'may not' -> 'cannot' 2015-01-15 16:29:50 -08:00
Anders Hejlsberg
50b0cb98cc Adding missing @module to several fourslash tests 2015-01-15 15:57:48 -08:00
Anders Hejlsberg
65452aa011 Hardening compiler to accept empty CompilerOptions object 2015-01-15 15:57:08 -08:00
Yui
778c91ef47 Merge pull request #1604 from Microsoft/addTestsForRestAndDefault
Add tests for rest and default
2015-01-15 14:32:57 -08:00
Yui T
6d678b7d4f Merge branch 'master' into addTestsForRestAndDefault 2015-01-15 13:57:25 -08:00
Daniel Rosenwasser
8dd81ea4fc Merge pull request #1673 from Microsoft/unDestructuringParameterProperties
Disallow destructured parameter properties
2015-01-15 13:39:47 -08:00
Anders Hejlsberg
f9f95ba614 Support for tsconfig.json files in command-line compiler 2015-01-15 13:22:23 -08:00
Yui
713e545fcd Merge pull request #1675 from Microsoft/fixCurrentDirectoryForRwc
Pass information of RWC currentDirectory to the Harness
2015-01-15 10:56:28 -08:00
Yui T
02b78da64b Merge branch 'master' into fixCurrentDirectoryForRwc 2015-01-15 10:36:45 -08:00
Yui T
ffbdf46f25 Address code review 2015-01-15 09:56:43 -08:00
Daniel Rosenwasser
75a1a8a493 Disallow optional destructured parameters in implementation signatures. 2015-01-14 17:25:46 -08:00
Daniel Rosenwasser
dafe7c8958 Added tests. 2015-01-14 17:02:31 -08:00
Yui T
6e8957da34 Pass information of rwc's currentDirectory to the compiler host in the Harness 2015-01-14 16:28:10 -08:00
Daniel Rosenwasser
e19ebc6d3e Disallow binding patterns in parameter properties. 2015-01-14 16:15:00 -08:00
Daniel Rosenwasser
61e2eb6b89 Renamed tests. 2015-01-14 16:13:12 -08:00
Daniel Rosenwasser
f58e6fc4a1 Fixed incorrect tests. 2015-01-14 16:08:29 -08:00
Daniel Rosenwasser
bfe63cc4cb Merge pull request #1648 from Microsoft/contextualTypeParenthesizedExpressions
Contextually type parenthesized expressions
2015-01-14 14:52:07 -08:00
Dick van den Brink
868cbb6d76 Removed services/compiler/emitter.ts
This one is replaced by src/compiler/emitter.ts
2015-01-14 23:22:43 +01:00
Dick van den Brink
b4bab03353 Removed services/compiler/optionsParser.ts
Code is also defined here:  src\compiler\tsc.ts
2015-01-14 23:22:28 +01:00
Dick van den Brink
186c04cebc Remove now unused diagnostics keys 2015-01-14 23:22:04 +01:00
Dick van den Brink
e69573b479 compiler\tsc.ts isn't used
DiagnosticCode.Specify_module_code_generation_0_or_1 doesn't even exist and it doesn't understand es6
2015-01-14 23:21:15 +01:00
Dick van den Brink
30fa715c2c Remove src\services\compiler\diagnostics.ts
It contains the Logger interface but src\services\services.ts is the one which is used (also has more methods)
2015-01-14 23:20:38 +01:00
Yui
d391a8a148 Merge pull request #1670 from Microsoft/fixTypeGuardWithInstanceOf
Fix narrow type for instanceOf and add testcases
2015-01-14 11:50:43 -08:00
Yui T
cf81938ec8 Merge branch 'master' into fixTypeGuardWithInstanceOf 2015-01-14 11:50:11 -08:00
Yui T
fdadd3c18e Fix narrow type for instanceOf and add testcases 2015-01-14 11:30:58 -08:00