zhengbli
f66c23811e
Remove extra empty lines
2015-09-27 20:15:51 -07:00
zhengbli
896f745c83
Avoid deleting trailing whitespaces for tempmlates
2015-09-27 19:36:25 -07:00
Vladimir Matveev
e53646a0cd
harden the implementation of Program.getSourceFile to handle all relative file names correctly
2015-09-27 13:32:13 -07:00
Anders Hejlsberg
5dc8402367
Make tuple type itself the 'this' type of base array type
2015-09-27 09:04:57 -07:00
Vladimir Matveev
dae5a626da
record resolution for relative file name if file was found via absolute name
2015-09-26 21:29:07 -07:00
Anders Hejlsberg
29f6036176
Fixing comment and error message per CR feedback
2015-09-26 14:31:03 -07:00
Anders Hejlsberg
47c9190408
Proper handling of "this" in getSymbolAtLocation
2015-09-26 07:57:39 -07:00
Anders Hejlsberg
f17875e7e0
Properly classify "this" and "await" in isExpression
2015-09-26 07:30:19 -07:00
Daniel Rosenwasser
d9559d58ca
Merge branch 'grabParamsFromInitializers'
2015-09-25 17:11:33 -07:00
Daniel Rosenwasser
2692cde712
:%s/apst/apt
2015-09-25 17:10:58 -07:00
Colin Snover
f3969048c5
Put AMD dependency list inline with define call in UMD modules
...
Fixes #4952 .
2015-09-25 23:57:47 +00:00
Daniel Rosenwasser
6bfc28f883
Try to grab parameters for single-declaration variable statements.
...
We only do this for a (parenthesized) function expression, arrow function,
or class expression with a constructor.
In the presence of a class expression, if there are multiple constructor
declarations, the parameters are acquired from the first one.
2015-09-25 16:30:26 -07:00
Daniel Rosenwasser
0ab9536f73
Merge pull request #4978 from Microsoft/expandDocTemplateCoverage
...
Expand JSDoc template generation locations (to 'master')
2015-09-25 15:28:28 -07:00
Anders Hejlsberg
31eebbf9ea
Rewrite inaccessible "this" to containing class/interface in declaration files
2015-09-25 15:25:49 -07:00
Anders Hejlsberg
41f8aade8e
Write "this" as "any" when "this" reference would be an error
2015-09-25 14:51:41 -07:00
Anders Hejlsberg
d79f5a6063
Removing a few "this" containers
2015-09-25 14:50:33 -07:00
Yui T
df18dfcaae
Address PR
2015-09-25 14:38:08 -07:00
Anders Hejlsberg
9dee87505d
Add additional "this" containers
2015-09-25 14:08:21 -07:00
Anders Hejlsberg
8fd2d7a7db
Properly emit "this" type in declaration files
2015-09-25 14:07:24 -07:00
Daniel Rosenwasser
a458d4b2f4
Amended comments.
2015-09-25 13:59:47 -07:00
Vladimir Matveev
b866781609
Merge pull request #4946 from Microsoft/constInitializersInEnums
...
align behavior of constant expressions in initializers of ambient enu…
2015-09-24 21:49:35 -07:00
Daniel Rosenwasser
81dabb4d51
Ensure that doc comments don't appear between dotted names.
...
Also updated TODO
2015-09-24 17:11:05 -07:00
Daniel Rosenwasser
67b44b59c0
Add JSDoc to methods, constructors, classes, and namespace/module declarations.
2015-09-24 16:40:13 -07:00
Daniel Rosenwasser
1545ab56f3
Use a loop because reduce is unreadable.
2015-09-24 16:01:47 -07:00
Anders Hejlsberg
bcea3594a3
Merge pull request #4956 from Microsoft/bindingElementContextualTyping
...
Fix parameter destructuring issues
2015-09-24 15:55:37 -07:00
Anders Hejlsberg
1a26789615
Properly propagate contextual types into parameter destructuring elements
2015-09-24 13:35:12 -07:00
Wesley Wigham
dd660dca39
Merge pull request #4811 from weswigham/es6-module-type
...
Support modules when targeting ES6 and an ES6 ModuleKind
2015-09-24 12:09:58 -07:00
Vladimir Matveev
fa3d9f3997
align behavior of constant expressions in initializers of ambient enum members with spec
2015-09-23 21:30:27 -07:00
Anders Hejlsberg
a292da593b
Check if binding element already has been assigned a contextual type
2015-09-23 14:45:09 -07:00
Vladimir Matveev
5078152a21
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-22 14:57:23 -07:00
Anders Hejlsberg
7acb9dd0a3
Adding comments and addressing CR feedback
2015-09-22 14:17:40 -07:00
Sheetal Nandi
e044d3e6b5
Merge branch 'master' into tscJsFiles
2015-09-22 12:36:36 -07:00
Sheetal Nandi
607564f2e2
Parse all the javascript files with JSX grammer
2015-09-22 12:33:40 -07:00
Sheetal Nandi
7f09c81251
Syntax changes if the extensions to treat as javascript change
2015-09-22 12:33:20 -07:00
Anders Hejlsberg
285483d871
Merge branch 'master' into polymorphicThisType
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
2015-09-22 10:04:23 -07:00
Vladimir Matveev
5a77d67b63
Merge pull request #4921 from Microsoft/implementsAsIdentifier
...
disambiguate: 'implements' starts heritage clause vs 'implements' is …
2015-09-22 09:13:37 -07:00
SaschaNaz
c850919614
\. instead of .
2015-09-22 18:17:03 +09:00
SaschaNaz
00a373a5ef
update regex for filename
2015-09-22 18:09:54 +09:00
SaschaNaz
04d73ba504
Merge remote-tracking branch 'Microsoft/master' into tsconfigpath
2015-09-22 17:53:31 +09:00
SaschaNaz
271003008e
format/existence check
2015-09-22 17:53:20 +09:00
SaschaNaz
f9e8d9562d
slight condition change for getDelta
2015-09-22 16:32:24 +09:00
SaschaNaz
3dd7caafbf
no null
2015-09-22 15:07:44 +09:00
Vladimir Matveev
4711f0ee5b
merge with master
2015-09-21 22:30:17 -07:00
Vladimir Matveev
c56b4165ec
disambiguate: 'implements' starts heritage clause vs 'implements' is a class name
2015-09-21 22:22:25 -07:00
Vladimir Matveev
2f7556256a
removed duplicate function implementation
2015-09-21 21:30:10 -07:00
Wesley Wigham
8ff551ce08
merge with master
2015-09-21 17:38:56 -07:00
Wesley Wigham
d409ba785c
Delete generated file, add to gitignore
2015-09-21 16:58:45 -07:00
Yui T
a3f5666a80
remove unnecessary union
2015-09-21 16:47:23 -07:00
Vladimir Matveev
d57ceb1d32
extend the list of extensions for module file names in node_modules folder
2015-09-21 16:10:03 -07:00
Sheetal Nandi
1df341b911
Merge branch 'master' into tscJsFilesxt
2015-09-21 15:50:39 -07:00