Commit Graph

4457 Commits

Author SHA1 Message Date
Yui T
91c5bae6e5 Address code review 2015-03-16 15:41:51 -07:00
Yui T
88933d54cc Address code review 2015-03-16 15:20:40 -07:00
Yui T
e573461745 Address code review. Use-before-def check will be added to separate work item 2015-03-16 14:43:53 -07:00
Yui T
2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Yui T
0eeb7ce7b8 Update baselines 2015-03-15 21:40:15 -07:00
Yui T
3bb4b50b4f Update baselines for symbol 2015-03-15 21:35:06 -07:00
Yui T
c70385c257 Update baselines 2015-03-15 21:27:54 -07:00
Yui T
9bf5a11bef Update baselines 2015-03-15 16:29:41 -07:00
Yui T
2a07d3f8db Address code review: do not emit default constructor 2015-03-15 12:33:29 -07:00
Yui T
13e55ae8cb Address code review 2015-03-14 16:53:33 -07:00
Yui T
af05afdc50 Emit Super as super 2015-03-12 16:34:06 -07:00
Yui T
800c523f4f Clean up redundant tests 2015-03-12 16:02:43 -07:00
Yui T
0672923323 Parse classDeclaration in strict mode code for ES6 2015-03-12 15:19:45 -07:00
Yui T
56839604da Disallow refering to static property in computed property name 2015-03-12 08:40:09 -07:00
Yui T
7ee587c43f Emit class with export and export default 2015-03-11 16:45:55 -07:00
Yui T
a0a506b11b Emit class declaration with static property assignment 2015-03-11 16:13:08 -07:00
Yui T
da12d465d0 Add tests for extension, type arguments, overload 2015-03-10 19:11:07 -07:00
Yui T
890aa4a84d test cases for constructor overload, non-static property assignment, getter/setter, method, static method, 2015-03-10 17:39:13 -07:00
Yui T
1b84f1d1d0 emit get/set member function 2015-03-10 17:22:33 -07:00
Yui T
8576282975 Emit non-getter/setter member function 2015-03-10 15:41:41 -07:00
Yui T
d3205ef955 Remove redundant sourcemap span and comment. Differentiate between emit for below ES6 and above ES6 2015-03-10 15:21:38 -07:00
Yui T
033a83d44a Basic emit for class constructor without static property assignment 2015-03-10 12:12:41 -07:00
CyrusNajmabadi
f747e5a1f9 Merge pull request #2276 from Microsoft/commentEmit
Provide specialized codepath for emitting when comments aren't necessary.
2015-03-09 16:31:38 -07:00
Cyrus Najmabadi
c21fe03d18 Merge branch 'master' into commentEmit
Conflicts:
	src/compiler/emitter.ts
2015-03-09 15:58:32 -07:00
CyrusNajmabadi
f061e00d45 Merge pull request #2267 from Microsoft/indentSimplification
Simplify indentation code in the emitter.
2015-03-09 15:54:27 -07:00
Cyrus Najmabadi
aa96475f73 CR feedback. 2015-03-09 15:50:40 -07:00
Cyrus Najmabadi
1a4299ef44 Merge branch 'master' into indentSimplification 2015-03-09 15:48:53 -07:00
Cyrus Najmabadi
31cf443a28 Add specialized codepath for emitting without comments. 2015-03-09 15:47:23 -07:00
Yui
eb92b5311d Merge pull request #2273 from Microsoft/fixRWCRunner
Fix rwc runner
2015-03-09 15:26:41 -07:00
Yui T
725577e328 Remove deubgger statement 2015-03-09 15:14:08 -07:00
Yui T
4c7891ce09 Fix file path resolution in RWC 2015-03-09 15:10:47 -07:00
Cyrus Najmabadi
bfbc18d6d7 rename emitNode to emitNodeWithoutSourceMap 2015-03-09 15:01:02 -07:00
Cyrus Najmabadi
103bb34d7b Merge branch 'master' into indentSimplification
Conflicts:
	src/compiler/emitter.ts
2015-03-09 13:04:24 -07:00
Steve Lucco
5556683227 Merge pull request #2258 from Microsoft/formatLine
TS Server format line fixes
2015-03-09 12:52:14 -07:00
steveluc
37c6f69f01 Hold at most 4 snapshots per file in the server. This is about 1K per file. 2015-03-09 11:57:50 -07:00
steveluc
04320e415e Renames and comments as requested by feedback. 2015-03-09 01:23:03 -07:00
Cyrus Najmabadi
35b56aa69b Further simplification. 2015-03-09 01:07:02 -07:00
CyrusNajmabadi
848bc87071 Merge pull request #2266 from Microsoft/moveLocal
Move variable closer to where it is used.
2015-03-09 00:47:07 -07:00
Cyrus Najmabadi
6340531a16 Simplify indentation code in the emitter. 2015-03-08 23:07:03 -07:00
Cyrus Najmabadi
29c06f9d6a Move variable closer to where it is used. 2015-03-08 22:35:28 -07:00
CyrusNajmabadi
c6cd57d18c Merge pull request #2265 from Microsoft/preserveFormatting
Move line preservation in emit behind an experimental compiler flag.
2015-03-08 20:25:36 -07:00
Cyrus Najmabadi
4903ca0981 Merge branch 'master' into preserveFormatting
Conflicts:
	tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.js
2015-03-08 19:47:34 -07:00
Cyrus Najmabadi
6e8d80f159 tests for newline preservation. 2015-03-08 19:26:33 -07:00
Cyrus Najmabadi
c371f1e521 Make the preservation of formatting an optional experimental compiler flag. 2015-03-08 19:06:55 -07:00
Mohamed Hegazy
161d6463ab Merge pull request #2263 from DickvdBrink/valueOf-lib.d.ts
Added valueOf definitions for String and Number
2015-03-08 11:33:33 -07:00
Dick van den Brink
e60edb3c7e Accepted baselines 2015-03-08 19:07:22 +01:00
Dick van den Brink
23f56dadfb Fixed tests due to lib.d.ts changes 2015-03-08 18:59:04 +01:00
Dick van den Brink
c0db7ffe8f Added valueOf definitions for String and Number 2015-03-08 18:08:49 +01:00
steveluc
360e47880e Addressed comments on code style and organization. 2015-03-07 23:19:58 -08:00
Bill Ticehurst
24141f05db Merge pull request #2245 from billti/ExportVersion
Made the 'version' string an exported property
2015-03-07 21:40:32 -08:00