Commit Graph
4598 Commits
Author SHA1 Message Date
Anders Hejlsberg 42b711b0f6 Merge pull request #2354 from Microsoft/cleanupDiagnostics
Clean up diagnostics display
2015-03-17 09:28:49 -07:00
Anders Hejlsberg ad75193528 Merge branch 'master' into cleanupDiagnostics
Conflicts:
	src/compiler/program.ts
2015-03-17 06:26:24 -07:00
Yui c4cb3e3483 Merge pull request #2333 from Microsoft/emitClass
Class emit for ES6
2015-03-16 17:40:03 -07:00
Yui T 9b3fccd5c4 Address code review; Use for..of and use if-statement 2015-03-16 16:24:40 -07:00
Mohamed Hegazy 2240fbf390 Merge pull request #2339 from Microsoft/exportDefaultType
Support an optional type annotation on export default statement
2015-03-16 16:04:07 -07:00
Yui T 513b45d101 Merge branch 'master' into emitClass
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	src/compiler/parser.ts
2015-03-16 15:55:57 -07:00
Yui T c51983df3c Address code review 2015-03-16 15:48:03 -07:00
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
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
Yui T 2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Vladimir Matveev 85cf7614dc Merge pull request #2374 from Microsoft/renamingCleanup
use 'allowGeneratedIdentifiers' to explicitly tell when identifier can b...
2015-03-16 13:52:13 -07:00
Vladimir Matveev 7f8ef3881b addressed PR feedback 2015-03-16 13:36:34 -07:00
Vladimir Matveev f5a4b0b31a use 'allowGeneratedIdentifiers' to explicitly tell when identifier can be renamed 2015-03-16 12:37:21 -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
Daniel Rosenwasser ad98fadb0a Merge pull request #2283 from caitp/issue-2282
Disallow line terminator after arrow function parameters, before =>
2015-03-15 21:59:54 -04:00
Yui T 9bf5a11bef Update baselines 2015-03-15 16:29:41 -07:00
Mohamed Hegazy 44a5343c1e Upate error message 2015-03-15 14:37:12 -07:00
Mohamed Hegazy 7430f3c9c7 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Mohamed Hegazy a02f85d71e Merge pull request #2368 from Microsoft/exportDefaultLS2
Enable navbar for export defaults
2015-03-15 14:05:23 -07:00
Mohamed Hegazy ebcb86b077 enable navbar for export defaults
Conflicts:
	src/services/navigationBar.ts
2015-03-15 13:22:54 -07:00
Yui T 2a07d3f8db Address code review: do not emit default constructor 2015-03-15 12:33:29 -07:00
Vladimir Matveev 3cea68d955 Merge pull request #2353 from Microsoft/shadowingNameViaBindingPattern
consider binding elements as always initialized with doing shadow check
2015-03-15 11:53:42 -07:00
Vladimir Matveev fac3cf8b55 addressed PR feedback 2015-03-14 18:50:05 -07:00
Caitlin Potter 02d356800f Share SourceFile with other grammar checker that needs it 2015-03-14 20:12:10 -04:00
Yui T 13e55ae8cb Address code review 2015-03-14 16:53:33 -07:00
Caitlin Potter 10925c1e9b Make sure arrow function grammar rules can deal with type annotations 2015-03-14 19:51:42 -04:00
Caitlin Potter 3dc5faf707 Restore earlier behaviour when parsing non-simple arrow function bodies 2015-03-14 19:51:42 -04:00
Caitlin Potter bd828e3024 Parse arrow function body as identifier if missing => or {
Restores functionality broken in previous commit
2015-03-14 19:51:42 -04:00
Caitlin Potter 5e107e6042 Address slew of review comments 2015-03-14 19:51:41 -04:00
Caitlin Potter fdc673f5eb Fix line wrapping 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 231f522d89 Add additional test-cases for arrow function grammar
As suggested by @DanielRosenwasser
2015-03-14 19:50:55 -04:00
Caitlin Potter dd16fed21e Perform error reporting in checker 2015-03-14 19:50:55 -04:00
Caitlin Potter 84634ac25d Disallow line terminator after arrow function parameters, before =>
Closes #2282
2015-03-14 19:50:24 -04:00
CyrusNajmabadi 1bb4a62988 Merge pull request #2352 from Microsoft/forOf2
Use 'let' in the services layer.
2015-03-13 17:24:00 -07:00
Cyrus Najmabadi beb7fc4f85 Preserve newlines in our own compiler. This aids debugging as it keeps lines at a reasonable length and more closely matches the original source. 2015-03-13 17:03:56 -07:00
Cyrus Najmabadi 9445b03110 Do not include experimental options in the public API. 2015-03-13 16:56:19 -07:00
Cyrus Najmabadi 8e9e5e2184 Update LKG. 2015-03-13 16:52:49 -07:00
Cyrus Najmabadi e5cd5eca3c Update LKG. 2015-03-13 16:49:22 -07:00
Cyrus Najmabadi 285497edf8 Reserve _i and _n as names we often want to generate 2015-03-13 16:45:58 -07:00
Cyrus Najmabadi 5e85595df6 Use the new option to cache .length access 2015-03-13 16:19:17 -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
Vladimir Matveev d163205da6 accepted baselines 2015-03-13 15:59:22 -07:00
Cyrus Najmabadi 4a9187172e Use 'let' in the compiler layer. 2015-03-13 15:55:17 -07:00
Cyrus Najmabadi bed79ccd52 Update LKG 2015-03-13 15:48:42 -07:00
Cyrus Najmabadi b99761ac05 Use 'let' in the compiler layer. 2015-03-13 15:27:05 -07:00