Commit Graph

8951 Commits

Author SHA1 Message Date
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
Daniel Rosenwasser
bd84b844ff Remove unnecessary 'else' block. 2015-11-18 10:07:42 -08: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
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
Vladimir Matveev
e0a8af00a7 do not resolve parameters/type parameters if it is requested from restricted locations 2015-11-17 13:27:52 -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
a989595044 use getCanonicalFileName on path fragments as in other utility methods 2015-11-17 11:24:17 -08:00
Ron Buckton
20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -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
Vladimir Matveev
31bce223d9 switch fourslash to use local test state 2015-11-16 11:50:42 -08:00
Vladimir Matveev
8039909913 remove Tao generation 2015-11-16 10:36:13 -08:00
Vladimir Matveev
078ed3f485 use normalized absolute file names when doing consistency check 2015-11-16 09:49:58 -08:00
Vladimir Matveev
a30d9c25c6 Merge remote-tracking branch 'origin/master' into harnessCleanup2_WIP 2015-11-16 09:15:55 -08:00
Mohamed Hegazy
f168962c8d Merge pull request #5679 from wix/browser-test-fix
Browser test runner for Mac OS X
2015-11-15 23:28:58 -08:00
tobisek
a0c6e1f2cb Merge branch 'master' into browser-test-fix 2015-11-16 09:15:11 +02:00
tobisek
eda75fbfd5 added default chrome path for Mac OS X 2015-11-15 15:03:43 +02:00
Vladimir Matveev
762e1eb0a8 cleanup harness code 2015-11-14 13:57:11 -08:00
Vladimir Matveev
abb7a130e3 Merge pull request #5670 from Microsoft/noCrashWithNonMergedOverloads
do not crash when variable and function declarations collide
2015-11-14 13:18:40 -08:00
Vladimir Matveev
e49e55287a do not crash when variable and function declarations collide 2015-11-14 12:08:47 -08:00
Daniel Rosenwasser
9857e7f64e Merge pull request #5617 from Microsoft/dogfoodStringLiterals
Use string literal types in the command line parser
2015-11-14 11:12:23 -08:00
Daniel Rosenwasser
76d624dec9 Merge branch 'master' into dogfoodStringLiterals 2015-11-14 00:42:34 -08:00
Wesley Wigham
39ebe81b89 Merge branch 'master' into compute-common-source-dir 2015-11-13 17:56:04 -08:00
Wesley Wigham
6b27ce4907 Merge pull request #5665 from weswigham/so-many-lint-fixes
fix many lints
2015-11-13 17:49:03 -08:00
Wesley Wigham
e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham
117da7f162 Merge pull request #5622 from weswigham/tslint@next
Use tslint@next for linting
2015-11-13 17:18:27 -08:00
Wesley Wigham
bfdb2d0fc9 and somehow all that caused was a lint error 2015-11-13 16:57:17 -08:00
Wesley Wigham
ff95731507 :S 2015-11-13 16:49:16 -08:00
Wesley Wigham
c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Vladimir Matveev
d2d2213584 Merge pull request #5655 from Microsoft/harnessCleanup
cleanup test harness code
2015-11-13 15:30:01 -08:00
Vladimir Matveev
50aab7a05f fix typo 2015-11-13 15:10:16 -08:00
Vladimir Matveev
531e0969da Merge pull request #5662 from Microsoft/overloadsAndMergedDeclarations
do not crash if overloads cannot be merged under one symbol
2015-11-13 14:55:18 -08:00
Wesley Wigham
b144b5b52c Merge pull request #5660 from weswigham/undefined-type-guards
Ignore typeof x === "undefined" type guards when narrowing
2015-11-13 14:45:47 -08:00
Vladimir Matveev
07626cbe89 do not crash if overloads cannot be merged under one symbol 2015-11-13 14:26:48 -08:00
Wesley Wigham
d7ddcc4756 accept baselines for new test 2015-11-13 14:09:13 -08:00
Wesley Wigham
16d80ebe71 ignore undefined type guards 2015-11-13 14:08:26 -08:00
Wesley Wigham
581f52a7ea exhaustive tests 2015-11-13 13:33:54 -08:00
Zhengbo Li
bd39847d6c Merge pull request #5593 from zhengbli/i5530
Add file content as a parameter for the tsserver open command
2015-11-13 11:30:11 -08:00