Commit Graph

35431 Commits

Author SHA1 Message Date
Jason Freeman b5349a5038 Disallow super and fix this capturing for computed properties 2015-01-19 16:37:17 -08:00
Jason Freeman e317767966 Consolidate getSuperContainer 2015-01-19 16:37:14 -08:00
Jason Freeman 4cc2722700 Disallow this in computed properties in classes 2015-01-19 16:37:10 -08:00
Jason Freeman f943f6c486 Adjust error numbers 2015-01-19 16:37:07 -08:00
Jason Freeman 1973b42946 Indexers in object literals include computed property types 2015-01-19 16:37:03 -08:00
Jason Freeman 1b35a1be25 Contextual typing for computed properties 2015-01-19 16:37:00 -08:00
Jason Freeman 4c5db716f9 Remove some unnecessary TODOs 2015-01-19 16:36:56 -08:00
Jason Freeman 96b5f1fe43 Add tests for classes, methods, accessors with computed properties 2015-01-19 16:36:53 -08:00
Jason Freeman de3eb36b2c Update baselines 2015-01-19 16:36:50 -08:00
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
Ivo Gabe de Wolff 434c908c36 Re-add debug assert & fix indent 2015-01-19 11:45:48 +01:00
Ivo Gabe de Wolff 161545de97 Change tagged template emit to new style 2015-01-19 11:33:43 +01:00
Ivo Gabe de Wolff d339a52b6a Remove statement from binder 2015-01-19 11:32:27 +01:00
Ivo Gabe de Wolff ed7ae27f4c Remove binding of tagged templates 2015-01-19 11:09:57 +01:00
Ivo Gabe de Wolff 28b90a2be3 Remove properties from types.ts 2015-01-19 11:09:27 +01: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
Mohamed Hegazy c9b1309025 Gracefully handel getChangeRange in Scriptsnapshot.fromString 2015-01-16 21:33:53 -08:00
Mohamed Hegazy 66f8257fc8 Remove isOpen from souceFile and LanugageServiceHost interfaces 2015-01-16 21:23:51 -08:00
Vladimir Matveev edc65e1753 addressed CR feedback: renamed update to updateSourceFile 2015-01-16 18:19:47 -08:00
Vladimir Matveev cf8c21893a moved update function out of SourceFile 2015-01-16 16:22:11 -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
Vladimir Matveev c40977c5fb move getSyntacticDiagnostics out of SourceFile 2015-01-16 12:32:37 -08:00
Vladimir Matveev 45ac06a0f2 move line map related function out of SourceFile 2015-01-16 12:02:12 -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