Cyrus Najmabadi
|
b29fba4602
|
Preserve newlines and indentation for binary expressions when possible.
|
2015-02-20 21:53:44 -08:00 |
|
Cyrus Najmabadi
|
8c90fc6bc8
|
Merge branch 'master' into binaryExpressionEmit
Conflicts:
src/compiler/checker.ts
|
2015-02-20 21:28:15 -08:00 |
|
Daniel Rosenwasser
|
553f2f0974
|
Merge pull request #1950 from Microsoft/thanksLua
ES3/ES5 emit support for computed properties
|
2015-02-20 19:00:48 -08:00 |
|
Cyrus Najmabadi
|
fc229368d1
|
Include the binary expression's operator in the AST.
|
2015-02-20 18:56:42 -08:00 |
|
Daniel Rosenwasser
|
4138fed1d7
|
Fixed case where property should not be emitted.
|
2015-02-20 18:42:07 -08:00 |
|
Daniel Rosenwasser
|
bebdd73e13
|
Extracted out RHS patching property logic to function.
|
2015-02-20 18:16:52 -08:00 |
|
Daniel Rosenwasser
|
88c61e89a8
|
Addressed CR comments.
|
2015-02-20 18:02:14 -08:00 |
|
Cyrus Najmabadi
|
eb5936b06f
|
Merge branch 'master' into baseZero
Conflicts:
src/harness/harnessLanguageService.ts
|
2015-02-20 16:56:58 -08:00 |
|
Daniel Rosenwasser
|
93c6ac0916
|
This is why we need an IO type constructor.
|
2015-02-20 16:54:07 -08:00 |
|
Daniel Rosenwasser
|
ec678f3ebd
|
Merge branch 'master' into thanksLua
Conflicts:
src/compiler/emitter.ts
tests/baselines/reference/computedPropertyNames12_ES5.errors.txt
tests/baselines/reference/computedPropertyNames14_ES5.errors.txt
tests/baselines/reference/computedPropertyNames15_ES5.errors.txt
tests/baselines/reference/computedPropertyNames17_ES5.errors.txt
tests/baselines/reference/computedPropertyNames32_ES5.errors.txt
tests/baselines/reference/computedPropertyNames35_ES5.errors.txt
tests/baselines/reference/computedPropertyNames3_ES5.errors.txt
tests/baselines/reference/computedPropertyNames42_ES5.errors.txt
tests/baselines/reference/computedPropertyNames5_ES5.errors.txt
tests/baselines/reference/computedPropertyNames6_ES5.errors.txt
tests/baselines/reference/computedPropertyNames8_ES5.errors.txt
tests/baselines/reference/computedPropertyNames9_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.errors.txt
|
2015-02-20 16:44:20 -08:00 |
|
Daniel Rosenwasser
|
78425d6e0f
|
Removed unused text-concatenating emit.
|
2015-02-20 14:17:26 -08:00 |
|
Daniel Rosenwasser
|
51129a704d
|
Rewrite the tree instead of hacking text together for downlevel object literals with computed properties.
|
2015-02-20 14:16:09 -08:00 |
|
Daniel Rosenwasser
|
0fd783f3ef
|
Don't emit accessors multiple times.
|
2015-02-19 17:04:32 -08:00 |
|
Jason Freeman
|
0d09dd5948
|
Make LastToken point to OfKeyword
|
2015-02-19 16:43:28 -08:00 |
|
Cyrus Najmabadi
|
990bbb2dce
|
CR feedback to use template strings.
|
2015-02-19 15:52:37 -08:00 |
|
Daniel Rosenwasser
|
ce85b14589
|
Made the initial object literal properties indented.
|
2015-02-19 13:11:59 -08:00 |
|
Jason Freeman
|
5596993351
|
Merge branch 'master' into forOf
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
tests/baselines/reference/APISample_compile.js
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.js
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_transform.js
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.js
tests/baselines/reference/APISample_watcher.types
|
2015-02-18 14:49:10 -08:00 |
|
Jason Freeman
|
6c32a6aca8
|
Address feedback
|
2015-02-18 14:39:07 -08:00 |
|
Daniel Rosenwasser
|
a6c5505881
|
Created a combined 'createAndRecordTempVariable' function.
|
2015-02-18 12:10:00 -08:00 |
|
Daniel Rosenwasser
|
826ed0545b
|
Addressed CR feedback.
|
2015-02-18 12:01:24 -08:00 |
|
Jason Freeman
|
8558d642f3
|
Temporarily disallow for-of statements
|
2015-02-18 11:39:37 -08:00 |
|
Jason Freeman
|
7cb2a64350
|
Disallow type annotation on a for-of variable
|
2015-02-18 11:35:52 -08:00 |
|
Jason Freeman
|
147cc204b8
|
Disallow initializers in for-in and for-of loops
|
2015-02-18 11:35:46 -08:00 |
|
Jason Freeman
|
f7a6354470
|
More resilient error recovery when declaration in for-of is empty
|
2015-02-18 11:35:43 -08:00 |
|
Jason Freeman
|
cc81a670ac
|
Fork grammar message into two messages
|
2015-02-18 11:35:40 -08:00 |
|
Jason Freeman
|
1a3294a7d2
|
Parity sweep for for-in & for-of
|
2015-02-18 11:35:29 -08:00 |
|
Vladimir Matveev
|
7947590ee5
|
added ForOfStatement to forEachChild
|
2015-02-18 11:30:03 -08:00 |
|
Vladimir Matveev
|
1dfd1b470e
|
initial version of parsing 'for-of'
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
|
2015-02-18 11:30:00 -08:00 |
|
Daniel Rosenwasser
|
5fc2ec701b
|
Merge branch 'master' into thanksLua
Conflicts:
src/compiler/emitter.ts
tests/baselines/reference/FunctionPropertyAssignments5_es6.js
tests/baselines/reference/computedPropertyNames9_ES6.js
tests/baselines/reference/computedPropertyNamesDeclarationEmit3.js
tests/baselines/reference/computedPropertyNamesDeclarationEmit4.js
tests/baselines/reference/parserES5ComputedPropertyName3.js
tests/baselines/reference/parserES5ComputedPropertyName4.js
|
2015-02-17 17:43:06 -08:00 |
|
Cyrus Najmabadi
|
cdc1b90e42
|
Fix function name.
|
2015-02-16 20:10:07 -08:00 |
|
Cyrus Najmabadi
|
124a77cc3a
|
Remove 'ZeroBased' from all APIs, now that all APIs are zero based.
|
2015-02-16 19:35:45 -08:00 |
|
Cyrus Najmabadi
|
8ba9180730
|
Remove the one based APIs.
|
2015-02-16 19:16:16 -08:00 |
|
Cyrus Najmabadi
|
572c550a33
|
Remove usages of computeOneBasedLineAndCharacterOfPosition
|
2015-02-16 18:11:45 -08:00 |
|
Cyrus Najmabadi
|
edbedc7d5d
|
Make code more clearly state that it is one based.
|
2015-02-16 17:47:32 -08:00 |
|
Cyrus Najmabadi
|
1098e80f4b
|
Remove one-based helper function.
|
2015-02-16 17:41:07 -08:00 |
|
Cyrus Najmabadi
|
8ef4df8acb
|
Move the emitter over to using zero based indexing.
|
2015-02-16 17:34:11 -08:00 |
|
Jason Freeman
|
59dc7d3a5b
|
Address feedback
|
2015-02-16 16:50:40 -08:00 |
|
Cyrus Najmabadi
|
ab7d36d526
|
Move the emitter over to use zero based indexing.
|
2015-02-16 16:28:26 -08:00 |
|
Cyrus Najmabadi
|
b3366ec8b4
|
name more line/char functions more clearly. Use zero based indexing in breakpoints.
|
2015-02-16 16:18:53 -08:00 |
|
Cyrus Najmabadi
|
afb083ae5a
|
Make method more clearly indicate that it is one based.
|
2015-02-16 15:39:49 -08:00 |
|
Cyrus Najmabadi
|
11a9df2cc9
|
Expose zero-based helpers that code will be able to call.
|
2015-02-16 15:30:21 -08:00 |
|
Cyrus Najmabadi
|
35b489d7d1
|
Rename our one-based methods to more clearly indicate that that's what base they use.
|
2015-02-16 15:20:05 -08:00 |
|
Jason Freeman
|
7d7d54f6f0
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
|
2015-02-16 13:44:53 -08:00 |
|
Jason Freeman
|
3b967e3489
|
Move 4000-coded type check errors to 2000s where they belong
|
2015-02-16 12:45:03 -08:00 |
|
Jason Freeman
|
ac829a8384
|
Error for naming an interface 'symbol'
|
2015-02-16 10:44:30 -08:00 |
|
Jason Freeman
|
65d831e8b3
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
|
2015-02-16 10:38:22 -08:00 |
|
Vladimir Matveev
|
9f7c252ee0
|
Merge pull request #2027 from Microsoft/redefinedLetConst
Disallow let\const declarations in the same scope with var declarations.
|
2015-02-13 15:14:09 -08:00 |
|
Jason Freeman
|
9c273d8133
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
src/services/services.ts
|
2015-02-13 14:52:03 -08:00 |
|
Yui T
|
cfb9cf0c7d
|
Merge branch 'master' into fixTimeMeasurement
|
2015-02-13 13:46:11 -08:00 |
|
Yui T
|
91a39dd000
|
Fix time measurement
|
2015-02-13 13:42:17 -08:00 |
|