Daniel Rosenwasser
fa2e614f9f
Merge branch 'master' into iFeelPrettyErr
2015-10-30 18:10:05 -07:00
Daniel Rosenwasser
5cbcafadb9
Merge pull request #5477 from Microsoft/mutatedArrayInForOf
...
Always create a temporary for iterated expressions in a for-of loop
2015-10-30 17:42:45 -07:00
Daniel Rosenwasser
d5dd69b7b6
Accepted baselines.
2015-10-30 17:10:14 -07:00
Daniel Rosenwasser
982926a4c4
Moved test.
2015-10-30 16:59:31 -07:00
Wesley Wigham
f06627f780
prevent absolutre paths from leaking through error baselines
2015-10-30 16:35:31 -07:00
Daniel Rosenwasser
6a277d981a
Accepted baselines.
2015-10-30 15:59:27 -07:00
Daniel Rosenwasser
90bac23be4
Always generate an identifier in a for-of loop.
2015-10-30 15:59:16 -07:00
Sheetal Nandi
51caf1a9ee
Use of FileMap instead of Map as per PR feedback
2015-10-30 15:54:31 -07:00
Wesley Wigham
d4d60783eb
accept new baselines postmerge
2015-10-30 15:53:44 -07:00
Wesley Wigham
70fba0b820
Merge branch 'master' into out-module-concat
2015-10-30 15:47:35 -07:00
Daniel Rosenwasser
f36b6ab8f9
Accepted baselines.
2015-10-30 15:30:59 -07:00
Daniel Rosenwasser
c3c9e513a8
Added failing test.
2015-10-30 15:30:32 -07:00
Sheetal Nandi
62d4fd6d35
Take pr feedback into account
2015-10-30 15:06:23 -07:00
Sheetal Nandi
2b582a0b71
Simplifty declaration emitter logic by using forEachExpectedEmitFile
2015-10-30 15:04:46 -07:00
Nathan Shively-Sanders
6aecd43d9a
Fix isConstructorParameter
2015-10-30 15:03:44 -07:00
Wesley Wigham
95a3fc7143
feedback form pr, new baselines
2015-10-30 14:52:45 -07:00
Nathan Shively-Sanders
84b894769e
Accept baselines
2015-10-30 14:19:11 -07:00
Nathan Shively-Sanders
e609047b78
Add tests based on #5449
2015-10-30 14:02:07 -07:00
Nathan Shively-Sanders
c82d4a61e3
Forbid 'this' as constructor parameter type
2015-10-30 14:01:06 -07:00
Sheetal Nandi
06bf08c17f
Simplify logic to get declaration diagnostis
2015-10-30 13:43:52 -07:00
Sheetal Nandi
c6d54d6ae6
Simplify verification of emit file paths using utility to iterate over each emit file
...
This also makes sure we dont emit --out or --outFile if there are no files that can go in that file(non module and non declaration files)
2015-10-30 13:22:23 -07:00
Sheetal Nandi
a0318c7b63
Create a utility to iterate over each emitFileName and use it in emitter
...
TODO: declaration emitter to use this utility
TODO: emit file name compiler option verification to use this utility
2015-10-30 12:54:30 -07:00
Ryan Cavanaugh
a3a5c1619d
Human-readable fourslash debug output for completion lists / quickinfo
2015-10-30 12:35:20 -07:00
Ryan Cavanaugh
3b7213116d
Inference from JavaScript prototype property assignments
2015-10-30 12:34:56 -07:00
Sheetal Nandi
9f337bc681
Merge branch 'master' into jsFileCompilation
2015-10-30 12:16:50 -07:00
Sheetal Nandi
4d3457ca4d
Some refactoring as per PR feedback
2015-10-30 12:03:59 -07:00
Sheetal Nandi
67bed265b7
Since js extensions are not user specified, no need to check if source map file will overwrite input file
2015-10-30 11:57:20 -07:00
Sheetal Nandi
6ea74ae7f1
Update the error messages as per PR feedback
2015-10-30 11:56:44 -07:00
Sheetal Nandi
daba901619
Report error if --allowJs option is used along with --declaration
2015-10-30 11:50:07 -07: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
Nathan Shively-Sanders
16f69daf10
Merge pull request #5469 from Microsoft/improve-constructor-object-return-error-message
...
Improve constructor object return error message
2015-10-30 10:17:47 -07:00
Vladimir Matveev
43b17c1ec7
Merge pull request #5462 from Microsoft/useResolvedFileNameWhenResolvingImports
...
Use dedicated type to store paths
2015-10-30 10:09:10 -07:00
Vladimir Matveev
83919f0a3e
addressed PR feedback: renamed 'toRelativePath' to 'convertToRelativePath'
2015-10-30 09:52:14 -07:00
Sheetal Nandi
b217b8b620
Merge branch 'master' into jsFileCompilation
2015-10-30 09:34:32 -07:00
Nathan Shively-Sanders
1b0bc8a496
Accept baselines
2015-10-30 09:21:23 -07:00
Nathan Shively-Sanders
79f09dab4f
Add more detailed error message
...
When an object literal, for example, is returned that does not match the
type of the consturctor, add detail about a field that is required but
missing.
Do this by passing `node.expression` instead of `undefined` -- the rest of
the error reporting infrastructure is already in place.
2015-10-30 09:16:10 -07:00
Wesley Wigham
0d0c05d1d3
that feling when you ctrl-z 1 too many times
2015-10-29 18:50:11 -07:00
Wesley Wigham
19e796dcbd
More correctness
2015-10-29 18:46:06 -07:00
Wesley Wigham
9f12bc8a1b
feedback from pr, new tests
2015-10-29 17:51:36 -07:00
Mohamed Hegazy
0c3d52e8b1
Update CONTRIBUTING.md
...
respond to review comments
2015-10-29 17:33:09 -07:00
Vladimir Matveev
534bb62c59
remove 'path' suffix from FileMap methods
2015-10-29 16:43:12 -07:00
Daniel Rosenwasser
ab7c4e5e43
Accepted baselines.
2015-10-29 16:40:54 -07:00
Daniel Rosenwasser
5cb95d4044
Renamed test directory.
2015-10-29 16:40:34 -07:00
Daniel Rosenwasser
841789d162
Renamed the relationship back to "comparable".
2015-10-29 16:36:25 -07:00
Vladimir Matveev
e1b4f01e77
introduce Path as branded string type, switch FileMap to use Path
2015-10-29 16:24:00 -07:00
Mohamed Hegazy
71cbaef79e
Update documentation for fixing lib issues
2015-10-29 15:27:45 -07:00
Sébastien Arod
5f81ba12aa
Use CharactersCodes and isLineBreak in conditions
2015-10-29 23:02:32 +01:00
Anders Hejlsberg
a27ed01516
Adding test
2015-10-29 14:53:28 -07:00
Anders Hejlsberg
c5b47fb5c8
Correct partial signature matching
2015-10-29 14:53:14 -07:00