34030 Commits

Author SHA1 Message Date
Anders Hejlsberg
760717a424 Fixing a few issues in Language Specification 2014-09-07 09:35:33 -07:00
Anders Hejlsberg
59889d871d Corrected codegen to support shadowed module names. 2014-09-06 17:40:19 -07:00
Anders Hejlsberg
2d7d491f4f Merge pull request #618 from Microsoft/typeAssertionErrors
Properly report errors for failed type assertions
2014-09-06 12:19:01 -07:00
Jason Freeman
6fb3c34681 Conformance coverage for spec change #589 2014-09-05 18:44:49 -07:00
CyrusNajmabadi
1eacacdc24 Merge pull request #620 from Microsoft/incrementalParsingBug
Fix incremental parsing bug due to non invalidating cached data in nodes...
2014-09-05 18:06:15 -07:00
Cyrus Najmabadi
aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -07:00
Anders Hejlsberg
8e7be9ad98 Properly report errors for failed type assertions 2014-09-05 17:09:00 -07:00
Mohamed Hegazy
90ecf811ff Merge pull request #609 from Microsoft/HTMLElementIndexer
Add numeric indexer to HTMLElementCollection
2014-09-05 17:06:10 -07:00
Mohamed Hegazy
dd3bb9cc69 Merge branch 'master' into noImplicitAnyOnCast 2014-09-05 16:46:41 -07:00
Mohamed Hegazy
b3260653ce move getWidenedType* functions inside the getWidenedType function scope 2014-09-05 16:45:30 -07:00
Mohamed Hegazy
3b6afb8499 respond to code review remarks 2014-09-05 16:41:37 -07:00
Daniel Rosenwasser
024ca6d6ac Addressed CR feedback. 2014-09-05 15:58:22 -07:00
Anders Hejlsberg
e157763d6c Merge pull request #610 from Microsoft/circularFunctionExpressions
Circular function expressions
2014-09-05 15:43:44 -07:00
Mohamed Hegazy
edbc41b5d4 Merge pull request #599 from Microsoft/emitDeclarationWithNoResolve
Do not emit references in generated declaration files if the --noresolve flag was set
2014-09-05 14:52:30 -07:00
Anders Hejlsberg
be7e0a75e9 Merge branch 'master' into tupleTypes 2014-09-05 13:52:45 -07:00
Mohamed Hegazy
901c72808d Merge branch 'master' into emitDeclarationWithNoResolve 2014-09-05 13:07:14 -07:00
Mohamed Hegazy
cc3cae34e9 respond to code review remarks and reverted tryResolveScriptReference to resolveScriptReference 2014-09-05 13:06:10 -07:00
Anders Hejlsberg
314a0d6cf0 Accepting new baselines. 2014-09-05 13:05:36 -07:00
Anders Hejlsberg
5fdc908a36 Deferred type checking of function expressions to support circular definitions. 2014-09-05 12:55:28 -07:00
Mohamed Hegazy
3bcde460fd Add numeric indexer to HTMLElementCollection 2014-09-05 12:54:56 -07:00
Daniel Rosenwasser
84e385ddfa Made a getThisContainer function. 2014-09-05 12:14:50 -07:00
Sheetal Nandi
d3c70ef261 Merge pull request #605 from Microsoft/quotesInDeclarationFile
Use double quotes in declaration file's reference path generation
2014-09-04 18:50:45 -07:00
Sheetal Nandi
0dc95ceb60 Use double quotes in declaration file's reference path generation so that quotes in file name wouldnt affect reference resolution
Fixes #474
2014-09-04 16:21:56 -07:00
Mohamed Hegazy
05ebe9c214 add negative test for invalid references and declaration emit 2014-09-04 14:41:11 -07:00
Mohamed Hegazy
5422e56d48 Do not show noImplictAny errors when widening for a cast expression 2014-09-04 14:25:12 -07:00
Sheetal Nandi
f582902ec0 Merge pull request #569 from Microsoft/collisions
Report error if exports or require is used for declaration name in external module
2014-09-04 13:44:43 -07:00
Daniel Rosenwasser
a6a6d77d4a Added fourslash tests for 'this' keyword findOccs/findRefs. 2014-09-04 13:30:18 -07:00
Daniel Rosenwasser
e6e9979482 getRefs/getOccs support for 'this' keyword. 2014-09-04 13:30:16 -07:00
Daniel Rosenwasser
492e1c5d72 Merge pull request #593 from Microsoft/getOccurrencesReturn
Get occurrences for return keywords.
2014-09-04 13:20:07 -07:00
Mohamed Hegazy
acf557dd3c Do not emit references in generated declaration files if the --noresolve flag was set. This fixes a crash in the compiler when generating declarations with /// reference and noResolve 2014-09-04 13:16:22 -07:00
Sheetal Nandi
7b45cdf9b3 Negative test cases for collision of export and require declaration names 2014-09-04 13:00:59 -07:00
Daniel Rosenwasser
7b5440bb8d Addressed more CR feedback. 2014-09-04 12:44:18 -07:00
Daniel Rosenwasser
294ad06b68 Merge branch 'getOccurrences' of https://github.com/Microsoft/TypeScript into getOccurrences 2014-09-04 12:01:24 -07:00
Daniel Rosenwasser
837dddaec3 Addressed CR feedback. 2014-09-04 11:54:16 -07:00
Ryan Cavanaugh
4381f725ed Merge pull request #581 from Microsoft/instrument
Add jake task for making instrumented tsc
2014-09-04 10:55:01 -07:00
Anders Hejlsberg
5b1789b2b8 Merge pull request #597 from Microsoft/cacheFileLookups
Cache unsuccessful file lookups for improved performance.
2014-09-04 10:48:52 -07:00
Ryan Cavanaugh
b8b522784c Address CR feedback 2014-09-04 10:44:36 -07:00
Anders Hejlsberg
f62bbc238d Cache unsuccessful file lookups for improved performance. 2014-09-04 10:17:39 -07:00
Sheetal Nandi
3cc4b73858 Merge pull request #570 from Microsoft/linemaps
Handles all the line breaks in calculation of line-character position
2014-09-04 09:53:06 -07:00
Mohamed Hegazy
5e98138921 Fix typo in running the tests section 2014-09-04 09:47:32 -07:00
Mohamed Hegazy
46f0c6cec4 Update .gitignore 2014-09-04 09:46:15 -07:00
Mohamed Hegazy
4ac4dd15d5 Merge pull request #588 from Microsoft/rwcImporter
Rwc importer
2014-09-04 09:44:12 -07:00
Ryan Cavanaugh
0aba039a0d Speed up RWC IO playback by removing unfound files from resolution candidates 2014-09-04 09:18:29 -07:00
Ryan Cavanaugh
f2546c1392 Correctly handle zero-length test inputs 2014-09-04 09:09:22 -07:00
Daniel Rosenwasser
e060a8e710 Merge pull request #561 from Microsoft/getOccurrencesIfElseIfElseIfElse
getOccurrencesAtPosition support for if/else keywords
2014-09-03 14:26:19 -07:00
Mohamed Hegazy
755fce2fd3 Merge pull request #493 from RReverser/patch-1
Fix for importing modules from definitions
2014-09-03 13:13:29 -07:00
Mohamed Hegazy
c952750327 Fix typo in file name 2014-09-03 13:10:31 -07:00
Anders Hejlsberg
a611ef40a8 Merge pull request #589 from Microsoft/updateLanguageSpec
Language Specification updated to version 1.1
2014-09-03 11:46:44 -07:00
Anders Hejlsberg
542f3601b0 Language Specification updated to version 1.1 2014-09-03 11:32:50 -07:00
Anders Hejlsberg
dab3691af6 Merge pull request #550 from Microsoft/deferredTypeLiterals
Deferred resolution of object literal members to support recursive types.
2014-09-03 11:03:24 -07:00