900 Commits

Author SHA1 Message Date
Wesley Wigham
294f846d26 Add a test which uses common src dir in a different way 2015-11-18 13:56:38 -08:00
Vladimir Matveev
5e84ed399c Merge pull request #5706 from Microsoft/nameResolutionForParameters
restrict the scope of parameters\type parameters
2015-11-17 17:09:53 -08:00
Vladimir Matveev
31039a3fff disallow references to function locals from return type annotations 2015-11-17 15:22:26 -08:00
Vladimir Matveev
e0a8af00a7 do not resolve parameters/type parameters if it is requested from restricted locations 2015-11-17 13:27:52 -08:00
Wesley Wigham
3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Vladimir Matveev
e49e55287a do not crash when variable and function declarations collide 2015-11-14 12:08:47 -08:00
Wesley Wigham
c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Vladimir Matveev
07626cbe89 do not crash if overloads cannot be merged under one symbol 2015-11-13 14:26:48 -08:00
Nathan Shively-Sanders
7743d20910 Merge pull request #5193 from Microsoft/namespace-before-ambient-derived-class-finds-heritage
Namespace before ambient derived class finds heritage
2015-11-13 08:50:10 -08:00
Wesley Wigham
52fbf9e12b Merge branch 'master' into compute-common-source-dir 2015-11-12 15:59:11 -08:00
Sheetal Nandi
986d884502 Test case for multiline spanning without return statement 2015-11-12 14:13:35 -08:00
Wesley Wigham
b24f8f35b7 go go go 2015-11-12 14:09:51 -08:00
Vladimir Matveev
4dbae54af5 Merge pull request #5639 from Microsoft/typecheckStatementsInCaseClause
always check statements in case clause
2015-11-12 13:11:57 -08:00
Vladimir Matveev
ebd1b873f1 always check statements in case clause 2015-11-12 10:17:47 -08:00
Sheetal Nandi
8020bf90d6 Test cases to verify --inlineSourceMap with --sourcemap --mapRoot and --sourceRoot
Note that --sourceRoot fails with crash
2015-11-11 12:58:58 -08:00
Sheetal Nandi
593ba66af1 Test cases for --sourceMap --inlineSources option 2015-11-11 12:58:54 -08:00
Wesley Wigham
c3af8bb6cc Merge branch 'master' into compute-common-source-dir 2015-11-11 10:57:36 -08:00
Vladimir Matveev
072e93898d Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Wesley Wigham
97d170b388 Support to tests for absolute paths, add common src dir edgecase tests 2015-11-10 13:10:44 -08:00
Daniel Rosenwasser
92d37c3029 Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -08:00
Vladimir Matveev
5d9e7e10c0 Merge pull request #5576 from Microsoft/importsInShorthandProps
use modulekind to check if initializer for shorthand property assignm…
2015-11-09 14:57:47 -08:00
Daniel Rosenwasser
8a959ead4c Removed no-default-lib comment from test case. 2015-11-09 14:34:23 -08:00
Vladimir Matveev
fe770bdd75 addressed PR feedback 2015-11-09 13:56:18 -08:00
Vladimir Matveev
6f08e89455 use modulekind to check if initializer for shorthand property assignment should be emitted 2015-11-09 13:34:30 -08:00
Wesley Wigham
14d65098c9 Merge pull request #5385 from weswigham/5378-equality-fix
Stop considering symbol names when checking type parameter identity
2015-11-09 13:32:43 -08:00
Wesley Wigham
cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Wesley Wigham
98e9fea6e6 Merge branch 'master' into 5378-equality-fix 2015-11-04 19:20:14 -08:00
Vladimir Matveev
db2b23da00 allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties 2015-11-04 15:35:21 -08:00
Vladimir Matveev
652a3a4a55 do not report 'unreachable code' on empty statements 2015-11-03 22:30:27 -08:00
Wesley Wigham
6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Vladimir Matveev
fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Martin Vseticka
1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -07:00
Vladimir Matveev
3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Martin Všetička
1e2108854b Add warning message empty THEN clause 2015-10-28 08:25:41 +01:00
Vladimir Matveev
d2a11b55dc merge with master 2015-10-27 10:41:21 -07:00
Vladimir Matveev
ea054f7cbb Merge pull request #5412 from Microsoft/classesInLoop
treat local classes as block scoped variables
2015-10-27 10:23:16 -07:00
Mohamed Hegazy
33d7a1fc13 Merge pull request #5397 from seanchas116/fix-nested-parameter-destructuring
Fix nested parameter destructuring
2015-10-27 09:46:23 -07:00
Vladimir Matveev
654befa781 treat local classes as block scoped variables 2015-10-26 22:18:04 -07:00
Ryohei Ikegami
a3f09c343b Add compiler test 2015-10-27 11:50:43 +09:00
Vladimir Matveev
4dbd04cdeb Merge pull request #5208 from Microsoft/capturedBlockScopedVars
support block scoped vars captured in closures inside loops
2015-10-26 16:58:15 -07:00
Mohamed Hegazy
ed5dc5536d Merge pull request #5390 from maybejulian/declareOnTypeAliasInDts
Allow type aliases to omit 'declare' keyword in '.d.ts' files
2015-10-25 23:26:18 -07:00
Wesley Wigham
5e82f234ec Add test of issue 2015-10-23 15:45:45 -07:00
Julian Williams
fc2dca2344 Added test. 2015-10-22 18:18:57 -04:00
Wesley Wigham
c165be8b3a change triple-slash ref emit critaera, add a new tests and accept new baselines 2015-10-21 17:36:49 -07:00
Vladimir Matveev
f96980d388 merge with master 2015-10-21 17:13:20 -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
Ron Buckton
c627802a43 Tests 2015-10-20 12:32:49 -07:00