Commit Graph

955 Commits

Author SHA1 Message Date
Daniel Rosenwasser
4092de6993 Merge pull request #5736 from UBC-CPEN/issue-5173
Give more helpful error when trying to set default values on an interface.
2015-12-01 13:05:09 -08:00
Vladimir Matveev
b40079e1da Merge pull request #5824 from Microsoft/implicitReturnInferredVoid
do not report 'noImplicitReturns' error if inferred return type of th…
2015-11-30 16:16:25 -08:00
Vladimir Matveev
9552d4da44 ignore all trivia except singleline comments when processing tripleslash references 2015-11-29 21:17:31 -08:00
Vladimir Matveev
d0e4a4ca92 do not report 'noImplicitReturns' error if inferred return type of the function is void/any 2015-11-28 23:20:53 -08:00
Daniel Rosenwasser
2f282a786a Merge pull request #5566 from jeffreymorlan/fix5444
Fix issue #5444
2015-11-28 12:00:26 -08:00
Nathan Yee
6c755c90db Report property errors in the checker instead of the parser 2015-11-27 18:11:28 -08:00
Wesley Wigham
d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -08:00
Wesley Wigham
d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -08:00
Sheetal Nandi
b5c64ad516 Test case for binder errors in .js file 2015-11-25 15:34:25 -08:00
Nathan Yee
068d10c6bb Add tests for #5173 2015-11-25 14:31:46 -08:00
Vladimir Matveev
937ce71a12 Merge pull request #5733 from Microsoft/unconditionalNoImplicitReturns
apply 'noImplicitReturns' rule for functions that don't have type an…
2015-11-25 12:25:51 -08:00
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
5eb8f71ee1 addressed PR feedback 2015-11-22 22:06:05 -08:00
Vladimir Matveev
181c943feb correctly capture 'this' when converting loops into functions 2015-11-21 20:11:39 -08:00
Wesley Wigham
f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Wesley Wigham
b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Vladimir Matveev
71b98e0615 apply 'noImplicitReturns' check for functions that don't have type annotations 2015-11-20 10:56:17 -08:00
Wesley Wigham
ba3805d6f2 add a new test 2015-11-18 17:29:16 -08:00
Wesley Wigham
294f846d26 Add a test which uses common src dir in a different way 2015-11-18 13:56:38 -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
Jeffrey Morlan
c72861ebd7 Add test case 2015-11-09 21:05:05 -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
Wesley Wigham
a32f44f9f4 Add command line flag to allow synthetic default exports 2015-11-09 14:36:00 -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