Commit Graph

936 Commits

Author SHA1 Message Date
Vladimir Matveev
fb76dc95de Merge pull request #5759 from Microsoft/bangInModuleNames
do not treat modules with '!' in names any specially
2015-11-23 14:08:33 -08:00
Anders Hejlsberg
6a144506f4 Adding regression test 2015-11-23 13:21:51 -08:00
Vladimir Matveev
2836c17791 do not treat modules with '!' in names any specially 2015-11-23 13:08:44 -08:00
Vladimir Matveev
181c943feb correctly capture 'this' when converting loops into functions 2015-11-21 20:11:39 -08:00
Sheetal Nandi
a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -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
Sheetal Nandi
073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -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
Sheetal Nandi
fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -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
Sheetal Nandi
4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -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
Sheetal Nandi
94a647b72b Do not emit declarations for javascript files 2015-10-30 11:36:39 -07:00
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -07:00
Sheetal Nandi
b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -07:00
Vladimir Matveev
3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Sheetal Nandi
382b86bd2c Test update for using allowJs instead of --jsExtensions 2015-10-28 14:03:18 -07:00
Sheetal Nandi
57362f6017 Some tests to cover transpilation of different syntax 2015-10-28 13:08:35 -07:00
Sheetal Nandi
8f03d00dc0 Test cases to verify that declaration file is not emitted if any of the declaration file in program has error 2015-10-28 13:08:20 -07:00
Sheetal Nandi
bf05ea3b2f Some test cases to verify that declaration file overwrite is reported correctly 2015-10-28 13:08:06 -07:00
Sheetal Nandi
93cc1e530b Check source map files are being overwritten 2015-10-28 13:07:35 -07:00
Sheetal Nandi
d14934e4da Tests update for emitting declarations if no errors 2015-10-28 13:07:08 -07:00
Martin Všetička
1e2108854b Add warning message empty THEN clause 2015-10-28 08:25:41 +01:00