Commit Graph

5165 Commits

Author SHA1 Message Date
Arthur Ozga
813d227e37 classInterface: changed excludes flags 2015-05-27 16:31:29 -07:00
Daniel Rosenwasser
644dbf230f Don't use 'Value' or 'Type' as they have overlap. Instead test for the precice meaning. 2015-05-27 16:03:04 -07:00
Daniel Rosenwasser
4088bc099c Only resolve 'arguments' and function/class expression names if the meaning permits it. 2015-05-27 15:04:34 -07:00
Ben Duffield
538978e3be fix constructors for DateTimeFormat, NumberFormat
they were incorrectly producing a Collator
2015-05-27 18:25:01 +01:00
Jason Freeman
0a49128908 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-27 13:24:00 -04:00
Mohamed Hegazy
2cbe14e131 Respond to code review comments 2015-05-27 10:20:01 -07:00
Ron Buckton
f559d061ec PR feedback and minor refactoring 2015-05-27 10:19:37 -07:00
Mohamed Hegazy
e7eef830e1 Fix #3245: ensure transpile diagnostics only include syntactic and compiler options diagnostics 2015-05-26 20:18:13 -07:00
Anders Hejlsberg
b28f74ec20 Adding a few more comments 2015-05-26 16:48:27 -07:00
Anders Hejlsberg
50ebc2bf8a Addressing CR feedback 2015-05-26 16:38:17 -07:00
Vladimir Matveev
f1789acb47 remove space after close bracket only if next token does not start block in function declaration context 2015-05-26 16:25:09 -07:00
Anders Hejlsberg
f957427c74 Local types not in scope in parameter lists and return types 2015-05-26 11:49:49 -07:00
Anders Hejlsberg
e053cb8351 Adding comments 2015-05-24 17:48:10 -07:00
Anders Hejlsberg
10e940ad55 Support local generic types within generic classes and functions 2015-05-24 16:02:28 -07:00
SaschaNaz
50a02237d1 getLineIndentation for others 2015-05-24 14:38:17 +09:00
Anders Hejlsberg
cf40696040 Validate that only module level declarations have modifiers 2015-05-23 16:51:20 -07:00
Anders Hejlsberg
df9378e2d3 Allow local interface, type alias, and enum declarations 2015-05-23 16:50:28 -07:00
Anders Hejlsberg
375516e6dc Consistent formatting of optional argument comments 2015-05-23 11:43:34 -07:00
Anders Hejlsberg
af8aefd467 Single function to parse statements and module elements 2015-05-23 11:41:31 -07:00
SaschaNaz
e20be95812 fixing some types 2015-05-23 17:47:13 +09:00
Ron Buckton
666a0db6ae PR Feedback 2015-05-22 23:56:41 -07:00
Ron Buckton
ac447f1f51 Migrated decorator checks to call resolution 2015-05-21 16:45:23 -07:00
Anders Hejlsberg
8918c8af17 Merge pull request #3239 from Microsoft/cyclicTypeInstantiation
Detect cycles during type instantiation
2015-05-21 15:13:35 -07:00
Ivo Gabe de Wolff
3bfc5359ad emitWithStatement should emit a WithStatement 2015-05-21 22:02:02 +02:00
Anders Hejlsberg
ebcdd85ad0 Changing type mapping cache to be a dictionary 2015-05-21 09:18:55 -07:00
Ron Buckton
b5df4b1653 Merge branch 'master' into asyncFunctions 2015-05-20 17:28:44 -07:00
Jason Freeman
67c88a2588 Initial PR feedback 2015-05-20 16:38:13 -07:00
Anders Hejlsberg
de8597ca8c Add cache to instantiateType function to break cycles 2015-05-20 16:30:50 -07:00
Paul van Brenk
c3a9390935 Merge pull request #3233 from Microsoft/tsconfigBug
Fix issue in the parsing of tsConfig file and fix errors in a couple of test cases when we switched to isolatedModules from separateCompilation.
2015-05-20 12:26:07 -07:00
Ron Buckton
16d8d9eb02 Fix for #2971, adds missing logic in checkFunctionExpressionBodies 2015-05-20 10:23:24 -07:00
Paul van Brenk
635c703872 Fix issue in the parsing of tsConfig file, this was fixed in master before, but never ported.
The realizeDiagnosticS function already returns an array, no need to wrap again. The realizeDiagnostic (no S) function returns a single diagnostic.
2015-05-19 18:07:21 -07:00
Paul van Brenk
3853489628 Update version to 1.5.3 for the VS 2015 release 2015-05-19 16:25:12 -07:00
Ron Buckton
d080f47003 Fix for #2971, adds missing logic in checkFunctionExpressionBodies 2015-05-19 16:17:12 -07:00
Jason Freeman
6037780159 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-19 15:08:41 -07:00
Mohamed Hegazy
5ea2cea95d Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00
Ron Buckton
a2c50732e8 Some cleanup and additional comments following PR feedback 2015-05-19 12:49:47 -07:00
Vladimir Matveev
91f69d7a02 Merge pull request #3226 from Microsoft/port-3183
Port PR 3183 into release 1.5
2015-05-19 11:53:16 -07:00
Vladimir Matveev
b5c4d3f2c6 Merge pull request #3225 from Microsoft/port-3131
Port PR 3131 into release 1.5
2015-05-19 11:42:48 -07:00
Vladimir Matveev
1f35f194d2 use textSpanEnd instead of handrolled version 2015-05-19 11:12:53 -07:00
Vladimir Matveev
845820dfe9 addressed PR feedback 2015-05-19 11:12:42 -07:00
Vladimir Matveev
0b9dd9e239 during file update request only changed portion of the text from the host 2015-05-19 11:12:25 -07:00
Vladimir Matveev
2252e3045c add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-19 11:09:45 -07:00
Vladimir Matveev
fd5dfb63af program should store file names with normalized slashes 2015-05-19 11:07:52 -07:00
Vladimir Matveev
eaee9ec600 Merge pull request #3223 from Microsoft/port-3109
Port PR 3109 into release 1.5
2015-05-19 11:03:46 -07:00
Vladimir Matveev
ecd6a7a226 Merge pull request #3222 from Microsoft/port-3110
Port PR 3110 into release 1.5
2015-05-19 11:03:36 -07:00
Vladimir Matveev
409dddc2f3 do not hoist ambient declarations 2015-05-19 10:31:09 -07:00
Vladimir Matveev
c828bcb0c7 addressed PR feedback 2015-05-19 10:28:40 -07:00
Vladimir Matveev
546330ed7d correct typos 2015-05-19 10:28:20 -07:00
Vladimir Matveev
87ed20bd57 system: fix emit for exports of non-top level entities, fix emit for enums 2015-05-19 10:27:56 -07:00
Vladimir Matveev
2a1df727de addressed PR feedback 2015-05-19 10:24:50 -07:00