Cyrus Najmabadi
a1e18fc22b
Introduce a new HeritageClauseElment type.
...
This type represents the expression+type arguments you can get in a class or interface
heritage clause section. For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names. For class extends clauses,
these could be any expressions in the future. However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Cyrus Najmabadi
3b35473e25
Merge branch 'master' into forOfLengthCache
...
Conflicts:
Jakefile
src/compiler/commandLineParser.ts
src/compiler/types.ts
2015-03-29 00:09:29 -07:00
Cyrus Najmabadi
7fff53cf33
Remove experimental flag to cache for-of length checks.
2015-03-28 23:50:52 -07:00
Cyrus Najmabadi
ceeeb9cd11
Always preserve new lines for array and object literals and additional constructs like blocks.
2015-03-26 13:46:35 -07:00
Mohamed Hegazy
fad889283e
Merge branch 'master' into exportEqualsMerged
...
Conflicts:
src/compiler/checker.ts
src/compiler/emitter.ts
src/compiler/types.ts
tests/baselines/reference/APISample_compile.js
tests/baselines/reference/APISample_linter.js
tests/baselines/reference/APISample_transform.js
tests/baselines/reference/APISample_watcher.js
tests/baselines/reference/es5ExportDefaultClassDeclaration2.js
tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
tests/baselines/reference/es6ExportAllInEs5.js
tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
2015-03-25 00:06:38 -07:00
Mohamed Hegazy
ab5c09a9a6
Make isReferencedAliasDeclaration check children
2015-03-24 21:43:03 -07:00
Ron Buckton
a60d5912a9
Cleanup of duplicate code due to merge
2015-03-24 20:30:03 -07:00
Ron Buckton
ea15225a9e
Merge pull request #2399 from Microsoft/decorators_min
2015-03-24 19:57:21 -07:00
CyrusNajmabadi
4f0dc28bdc
Merge pull request #2475 from Microsoft/completionEntryDetails
...
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -07:00
Cyrus Najmabadi
63278ca037
Don't bother with a predicate. It doesn't provide enough of a perf savings.
2015-03-24 15:30:32 -07:00
Ron Buckton
695c50bd78
Disallow decorators on multiple get/set accessors of the same name
2015-03-24 13:03:10 -07:00
Vladimir Matveev
f0cbcd6782
addressed PR feedback
2015-03-24 12:28:05 -07:00
Cyrus Najmabadi
a1cbfdf01d
Use the same logic for completion entry details that we do for getting completion entries.
2015-03-23 21:26:29 -07:00
Vladimir Matveev
141c96b8f3
revised name generation
2015-03-23 16:16:29 -07:00
Ron Buckton
5b988cdbe4
Some emit cleanup for ES6 classes, comments.
2015-03-23 14:09:38 -07:00
Mohamed Hegazy
f90253f73e
Merge branch 'master' into exportEquals
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/emitter.ts
tests/baselines/reference/es6ImportDefaultBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-03-23 11:06:44 -07:00
Anders Hejlsberg
20d1f73087
Add support for exporting imported symbols
2015-03-22 09:10:10 -07:00
Anders Hejlsberg
57a9fc54c8
Separate 'export default' and 'export ='
2015-03-21 13:12:39 -07:00
Ron Buckton
0fb624a58b
PR feedback
2015-03-19 22:57:03 -07:00
Cyrus Najmabadi
85d71b2883
No emit should happen if there are declaration errors and noEmitOnErrors is specified.
2015-03-19 16:55:07 -07:00
Vladimir Matveev
2ad40c25c9
addressed PR feedback
2015-03-18 14:29:02 -07:00
Ron Buckton
9761f4b783
PR comment, sourcemap test
2015-03-18 11:17:26 -07:00
Vladimir Matveev
e4f6f167f6
merge with master, accepted baselines
2015-03-17 17:05:30 -07:00
Ron Buckton
bd4d7fc9ee
Emit for decorators, updated to ES6 classes.
2015-03-17 14:20:57 -07:00
Ron Buckton
39001f5395
Checker updates for decorators
2015-03-17 14:17:37 -07:00
Ron Buckton
5db3b0d904
Types for decorators
2015-03-17 14:07:02 -07:00
Anders Hejlsberg
c39dfdc238
Introduce NodeFlags.ExportContext
2015-03-17 06:15:23 -07:00
Vladimir Matveev
218736b23f
initial version of declaration emit for default export
2015-03-16 18:54:13 -07:00
Jason Freeman
6fc552339f
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing
2015-03-16 17:43:31 -07:00
Vladimir Matveev
e9ea336771
Merge branch 'master' into DtsExports_all
2015-03-16 16:22:28 -07:00
Mohamed Hegazy
696b688987
Merge branch 'master' into exportDefaultType
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
2015-03-16 14:42:47 -07:00
Jason Freeman
bd811cea2a
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing
2015-03-16 11:04:40 -07:00
Jason Freeman
9933f6cd00
Address PR feedback
2015-03-16 11:04:11 -07:00
Mohamed Hegazy
7430f3c9c7
Merge branch 'master' into exportDefaultType
...
Conflicts:
src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Caitlin Potter
5e107e6042
Address slew of review comments
2015-03-14 19:51:41 -04:00
Caitlin Potter
aa3cefb63d
Check that arrow is on same line as parameters
2015-03-14 19:51:41 -04:00
Caitlin Potter
dd16fed21e
Perform error reporting in checker
2015-03-14 19:50:55 -04:00
Jason Freeman
df6f856ad5
Persist inference context object throughout the signature, and add isFixed property
2015-03-13 18:32:25 -07:00
Cyrus Najmabadi
9445b03110
Do not include experimental options in the public API.
2015-03-13 16:56:19 -07:00
Cyrus Najmabadi
d8d4719765
Add experimental option to cache the .length access in downlevel for-of emit.
2015-03-13 16:15:25 -07:00
Mohamed Hegazy
a6a8a96249
Support an optional type annotation on export default statement
2015-03-12 22:52:54 -07:00
Vladimir Matveev
879639615b
merge with master
2015-03-12 18:28:57 -07:00
Vladimir Matveev
efcf0e6f57
introduce CaseBlock as a block-scoped container for switch statements
2015-03-10 17:50:54 -07:00
Cyrus Najmabadi
c371f1e521
Make the preservation of formatting an optional experimental compiler flag.
2015-03-08 19:06:55 -07:00
Cyrus Najmabadi
21627384a8
Merge branch 'master' into propertyAccessEmit
2015-03-07 13:51:10 -08:00
Cyrus Najmabadi
dddc4660a1
Simplify code to emit indent code.
2015-03-07 13:33:02 -08:00
Cyrus Najmabadi
62d304b069
Preserve newlines for property access expressions on multiple lines.
2015-03-05 02:31:55 -08:00
Anders Hejlsberg
a87c45711f
Renaming SymbolFlags.Import to SymbolFlags.Alias
2015-03-04 10:26:38 -08:00
Anders Hejlsberg
91e8b821ad
Merge branch 'master' into exportDefault
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/contextualTyping.js.map
tests/baselines/reference/contextualTyping.sourcemap.txt
tests/baselines/reference/out-flag.js.map
tests/baselines/reference/properties.js.map
tests/baselines/reference/recursiveClassReferenceTest.js.map
tests/baselines/reference/sourceMap-FileWithComments.js.map
tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
tests/baselines/reference/typeResolution.js.map
2015-03-04 06:39:10 -08:00
Anders Hejlsberg
e4a11cb0c7
More comments
2015-03-04 06:25:45 -08:00