Commit Graph

35940 Commits

Author SHA1 Message Date
Yui T c2fb694404 Update baselines 2015-11-30 09:43:30 -08:00
Yui T eaa2846348 Add tests 2015-11-30 09:43:10 -08:00
Yui T 653deaa2e2 Fix where to report on error. Move from constructor node to just super node
Conflicts:
	src/compiler/checker.ts
2015-11-30 09:42:32 -08:00
Yui T e15eab9d99 Add basic check for use super before this
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-11-30 09:39:16 -08:00
Vladimir Matveev 6ff5679274 fix typo in comment 2015-11-30 09:34:32 -08:00
Vladimir Matveev 090eb205b2 Merge pull request #5827 from Microsoft/shebangBeforeReferences
ignore all trivia except singleline comments when processing triplesl…
2015-11-30 09:23:08 -08:00
Yui T 2cc7a7904a use const 2015-11-30 09:10:14 -08:00
Yui T 2d133454e1 Merge branch 'master' into fix4715 2015-11-30 08:55:43 -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 7f8bf731bd fix lint errors 2015-11-29 15:16:30 -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
Nathan Yee e363c7582b Revert baseline changes to the objectTypeLiteralSyntax2 test 2015-11-28 17:24:34 -08:00
Vladimir Matveev cc25f2c588 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-28 12:42:07 -08:00
Daniel Rosenwasser 2f282a786a Merge pull request #5566 from jeffreymorlan/fix5444
Fix issue #5444
2015-11-28 12:00:26 -08:00
Jeffrey Morlan ed453ddcfc Add comment 2015-11-28 10:41:37 -08:00
Nathan Yee d9d67d9003 Move initializer checks into checkGrammarProperty 2015-11-27 22:17:35 -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 54ab1e99c0 fix module record nonambiguous case, add test for it 2015-11-26 14:24:12 -08:00
Vladimir Matveev 4e3cba1f7c Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 21:23:45 -08:00
Wesley Wigham d167e55097 accept baseline 2015-11-25 18:38:25 -08:00
Wesley Wigham 22eecaa471 Merge branch 'master' into duplicate-export-behavior 2015-11-25 18:37:10 -08:00
Wesley Wigham 38215c6802 Merge pull request #5577 from weswigham/autohoist-default
Add command line flag to allow synthetic default exports
2015-11-25 18:34:16 -08:00
Wesley Wigham fd5f4404cb accept new baselines 2015-11-25 18:22:44 -08:00
Wesley Wigham 8c40dc8fae Merge branch 'master' into duplicate-export-behavior 2015-11-25 17:54:08 -08:00
Wesley Wigham d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -08:00
Wesley Wigham ebbce6acf5 Merge pull request #5800 from weswigham/master
accept baselines
2015-11-25 17:51:42 -08:00
Wesley Wigham 2198988e7b accept baselines 2015-11-25 17:46:27 -08:00
Yui T 62fb5e85e4 Include debug assert 2015-11-25 17:33:11 -08:00
Wesley Wigham adc3f2bd19 update description 2015-11-25 17:27:07 -08:00
Yui fecf99cf75 Merge pull request #5742 from Microsoft/applylinteronscripts
Apply Tslint on scripts
2015-11-25 17:20:55 -08:00
Wesley Wigham c9b3b7e42e Merge pull request #5661 from weswigham/use-common-directory-for-out
Use common source directory for calculating concatenated module paths
2015-11-25 17:18:48 -08:00
Wesley Wigham ec775ba4aa Merge pull request #5648 from weswigham/default-commonjs-es6
Handle default class exports when targeting es6 with non-es6 module kinds
2015-11-25 17:15:06 -08:00
Wesley Wigham 39266849f1 accept projects tests baselines 2015-11-25 16:58:44 -08:00
Wesley Wigham d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -08:00
Vladimir Matveev 0377e7ad75 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 16:41:51 -08:00
Vladimir Matveev 62370a0d08 addressed PR feedback 2015-11-25 16:41:09 -08:00
Sheetal Nandi b5c64ad516 Test case for binder errors in .js file 2015-11-25 15:34:25 -08:00
Nathan Shively-Sanders 57f1844e08 Change variable naming 2015-11-25 14:45:04 -08:00
Ron Buckton 04d53c1cfe Simpler inline cycle check for stringify 2015-11-25 14:35:44 -08:00
Nathan Yee 068d10c6bb Add tests for #5173 2015-11-25 14:31:46 -08:00
Ron Buckton 6bc2c069a6 Missed linter error. 2015-11-25 13:53:30 -08:00
Ron Buckton b33eff1143 PR feedback 2015-11-25 12:47:32 -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
Yui T c5a2969255 check for null 2015-11-25 11:41:51 -08:00
Nathan Shively-Sanders e4e0667a87 Improve variable naming
Change `localErrors` to `reportMoreErrors` to more accurately reflect what
the variable does.
2015-11-25 11:10:35 -08:00
Nathan Shively-Sanders c87c1e9b3f Improve error message
And accept baselines
2015-11-25 10:51:31 -08:00
Nathan Shively-Sanders f42841c846 Only report errors from the first failure
Accept the new baselines based on this change. Gets rid of a lot of
redundant errors.
2015-11-25 10:29:13 -08:00
Daniel Rosenwasser 995f0c40e4 Merge pull request #5782 from Microsoft/renameStringLiteralTypeFunctions
Renamed functions, fixed signature, removed TODO
2015-11-25 00:00:16 -08:00
Daniel Rosenwasser 8702cc4215 Renamed functions, fixed signature, removed TODO. 2015-11-24 18:01:47 -08:00
Yui T 81fdc4384f Add fourslash tests 2015-11-24 17:50:00 -08:00