Commit Graph

28909 Commits

Author SHA1 Message Date
Yui T adc6d11292 Merge branch 'master' into useprintVersion
Conflicts:
	src/compiler/tsc.ts
2015-11-19 13:06:29 -08:00
Wesley Wigham 075bea0ab8 I forgot to commit the baselines. T.T 2015-11-19 12:48:01 -08:00
Wesley Wigham 5ecc271c27 Merge branch 'master' into use-common-directory-for-out 2015-11-19 12:42:02 -08:00
Wesley Wigham b1c8245b78 Merge pull request #5626 from weswigham/type-guard-narrowing
Make type guards continue to narrow within classes/nested function declarations
2015-11-19 11:42:14 -08:00
Ron Buckton 5915fbd292 Adds minimal support for 'this' types in decorator metadata, emitting 'Object' for now. 2015-11-19 09:53:32 -08:00
Vladimir Matveev d2fd6437d7 initial implementation of path mapping based module resolution 2015-11-18 21:46:45 -08:00
Wesley Wigham ba3805d6f2 add a new test 2015-11-18 17:29:16 -08:00
Wesley Wigham 08045dfd31 Refactor getCommonSourceDirectory into a closure function 2015-11-18 17:10:22 -08:00
Sheetal Nandi 9db441ef16 Update test baselines 2015-11-18 16:09:04 -08:00
Sheetal Nandi b73ce26937 Dont emit names index mapping into the sourcemap
Since sourcemap spec is not very clear about symbol translation and
use of nameIndex of the mapping, dont emit it
2015-11-18 15:29:51 -08:00
Wesley Wigham c0f185943c remove comment 2015-11-18 14:10:53 -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
Wesley Wigham a44ebbbc7e only make common dir on call 2015-11-18 13:19:56 -08:00
Wesley Wigham c7a3bee916 Merge branch 'master' into use-common-directory-for-out 2015-11-18 13:10:23 -08:00
Sheetal Nandi a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00
Sheetal Nandi 5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Daniel Rosenwasser bd84b844ff Remove unnecessary 'else' block. 2015-11-18 10:07:42 -08:00
SaschaNaz 0448eeb502 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-19 01:56:55 +09:00
Mohamed Hegazy 7389922eb6 Merge pull request #5709 from Microsoft/fixPreferConstRule
Fix prefer const rule
2015-11-18 08:54:24 -08:00
Daniel Rosenwasser cbb61654fb Small refactorings. 2015-11-18 01:53:12 -08:00
Daniel Rosenwasser 15d689cdcd Simplify simplify simplify. 2015-11-18 01:46:17 -08:00
Daniel Rosenwasser cf007461b9 Fixed invalid code for binding expressions. 2015-11-18 01:41:41 -08:00
SaschaNaz 8ca6b31faa const 2015-11-18 18:09:31 +09:00
SaschaNaz c29501f18c Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-18 17:37:31 +09: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
Wesley Wigham 1f61ecfcb1 Merge pull request #5590 from weswigham/compute-common-source-dir
Add case sensitivity-check to computeCommonSourceDirectory
2015-11-17 16:06:26 -08:00
Vladimir Matveev 31039a3fff disallow references to function locals from return type annotations 2015-11-17 15:22:26 -08:00
Wesley Wigham 9531d929c7 update test with pr feedback 2015-11-17 14:34:02 -08:00
Wesley Wigham 321bb9aafa Merge branch 'master' into type-guard-narrowing 2015-11-17 13:50:56 -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 e41f1ae04d only check against default flag 2015-11-17 13:03:15 -08:00
Vladimir Matveev 683ecc9cec Merge pull request #5701 from Microsoft/cleanupWork
clean residual state in binder and emitter, clean test data in versio…
2015-11-17 12:59:45 -08:00
Wesley Wigham 21250edb0c Merge branch 'master' into default-commonjs-es6 2015-11-17 12:55:13 -08:00
Wesley Wigham a989595044 use getCanonicalFileName on path fragments as in other utility methods 2015-11-17 11:24:17 -08:00
Ron Buckton 4be0095a7c Clean up unnecessary comment annotations 2015-11-17 10:56:02 -08:00
Ron Buckton 20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -08:00
Ron Buckton 443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Wesley Wigham 3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Vladimir Matveev a26d89d7a2 addressed PR feedback 2015-11-16 23:44:07 -08:00
Vladimir Matveev 33fc598a8a clean residual state in binder and emitter, clean test data in version cache test 2015-11-16 23:24:25 -08:00
Sheetal Nandi 13bc120fe2 Merge pull request #5698 from Microsoft/paramPropertyDocComment
Fix for doc comment for parameter-property not shown correctly when invoking constructor
2015-11-16 17:16:57 -08:00
Vladimir Matveev 259e204885 Merge pull request #5690 from Microsoft/harnessCleanup2_WIP
cleanup harness code (part 2)
2015-11-16 16:53:28 -08:00
Sheetal Nandi a275dabe44 When constructing signature, include parameter symbol instead of property symbol of parameter-property declaration
Fixes #4566
2015-11-16 16:48:57 -08:00
Vladimir Matveev 076d65e1cf addressed PR feedback 2015-11-16 16:23:18 -08:00
Vladimir Matveev 7d65b5b1a0 Merge pull request #5697 from Microsoft/harnessCleanup3_WIP
cleanup harness code (part 3)
2015-11-16 15:20:19 -08:00
Vladimir Matveev 09a313a417 Merge pull request #5692 from Microsoft/fileNamesConsistencyCheck
use normalized absolute file names when doing consistency check
2015-11-16 12:31:48 -08:00
Sheetal Nandi 073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Vladimir Matveev 31bce223d9 switch fourslash to use local test state 2015-11-16 11:50:42 -08:00
Sheetal Nandi 1ee5022350 Change the api for node name resolver to take compiler options instead of supportedExtensions 2015-11-16 11:49:26 -08:00
Vladimir Matveev 8039909913 remove Tao generation 2015-11-16 10:36:13 -08:00