Commit Graph
1630 Commits
Author SHA1 Message Date
Daniel Rosenwasser 6b997487ee Fixed /// <reference 2015-04-07 23:34:45 -07:00
Ron Buckton 68b38b3e6a Merge pull request #2658 from Microsoft/fixDecoratorBindingForSuperThis
Fixes #2601, incorrect resolution of this/super
2015-04-07 19:10:03 -07:00
Ron Buckton e9911a5e17 Tests and baselines 2015-04-07 17:43:10 -07:00
Mohamed Hegazy 863f0b6180 Merge pull request #2643 from Microsoft/checkForOmittedExpression
Check for omitted expressions when checking const and let declaration names
2015-04-06 16:42:51 -07:00
Mohamed Hegazy 238a33daa0 Rename test case 2015-04-06 16:24:55 -07:00
Mohamed Hegazy d71632aa38 Check for omitted expressions when checking const and let declaration names 2015-04-06 15:32:22 -07:00
Mohamed Hegazy 3ca76ca53b Add null check when querying for exports from a module 2015-04-06 14:54:22 -07:00
Mohamed Hegazy 29fe9f560f Merge branch 'master' into APISamples
Conflicts:
	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-04-06 13:38:16 -07:00
Yui T 742f65c80b Merge branch 'master' into parseClassInStrictMode
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-04-03 17:23:02 -07:00
Cyrus Najmabadi 8537232d32 Add decorator test for a decorator on a class expression. 2015-04-03 13:04:56 -07:00
Cyrus Najmabadi be26d417a3 Add additional tests. 2015-04-02 17:50:11 -07:00
Cyrus Najmabadi 7562a34ae8 Add support for emitting static properties in class expressions in ES6. 2015-04-02 17:43:41 -07:00
Mohamed Hegazy facbe843d1 Merge branch 'master' into APISamples
Conflicts:
	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_linter.types.pull
	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-04-02 16:45:44 -07:00
Mohamed Hegazy 8ceebaa985 Update APISample tests for 1.5-alpha release 2015-04-02 15:45:52 -07:00
Cyrus Najmabadi 0f079632b9 PR feedback. 2015-04-02 14:58:43 -07:00
Cyrus Najmabadi 6f250703ff Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-04-02 14:22:16 -07:00
CyrusNajmabadi 35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00
Yui T 696e6a30fc Update test and baseliens from parsing classLikeDeclaration in strict mode 2015-04-02 13:41:07 -07:00
Mohamed Hegazy 9e4c9f923f Merge pull request #2570 from Microsoft/versionCacheUnitTest
Version cache unit test
2015-04-02 09:27:44 -07:00
unknown ba8be9eef4 Support classes without names in our AST. Report any issues with this at 'check' time. 2015-04-01 17:20:20 -07:00
unknown 22a87fb9ca Class declarations should be block scoped. 2015-04-01 16:24:51 -07:00
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy 90e2aa6938 Merge branch 'master' into versionCacheUnitTest 2015-03-31 21:37:15 -07:00
Mohamed Hegazy f75c1dd7b6 Merge branch 'master' into exportDefaultReference
Conflicts:
	src/compiler/utilities.ts
2015-03-31 21:35:21 -07:00
Mohamed Hegazy 4f78695740 Respond to code review comments 2015-03-31 20:42:45 -07:00
Mohamed Hegazy 4577959246 Merge pull request #2557 from Microsoft/exportEqualsDtsFix
Ensure export= is emitted correctelly in declaration files
2015-03-31 20:39:15 -07:00
Cyrus Najmabadi 3430903440 Merge branch 'master' into JSLS 2015-03-31 18:57:56 -07:00
Cyrus Najmabadi 3df576d112 Adding a couple of class tests. 2015-03-31 18:11:54 -07:00
Vladimir Matveev adad7c18d5 Merge pull request #2569 from Microsoft/revertModuleImportFix
revert fix for #2456 'Import namespace exports should be immutable'
2015-03-31 17:55:03 -07:00
Cyrus Najmabadi 1385d9b50c Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-03-31 17:40:56 -07:00
Vladimir Matveev cfda7df900 revert fix for #2456 'Import namespace exports should be immutable' 2015-03-31 17:35:26 -07:00
Mohamed Hegazy 4bf91fd4ce Wire stress tests 2015-03-31 17:30:48 -07:00
Cyrus Najmabadi ee3ba3bf75 CR feedback. 2015-03-31 17:23:52 -07:00
Cyrus Najmabadi 478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Mohamed Hegazy 82884e8f26 wire tst tests 2015-03-31 14:43:36 -07:00
Cyrus Najmabadi b363a459ff Add support for semicolons in class bodies 2015-03-31 14:29:45 -07:00
Cyrus Najmabadi f7aaf09603 Add support for parsing and emitting class expressions. 2015-03-31 13:54:43 -07:00
Vladimir Matveev 1bdcaa3d43 added tests for import\export elision 2015-03-31 13:54:33 -07:00
Mohamed Hegazy 1f75c03884 Update test names 2015-03-31 13:48:53 -07:00
Mohamed Hegazy 79af91a8e9 Cleanup 2015-03-31 13:45:11 -07:00
Mohamed Hegazy 7f5337701f Consolidate test logic in one helper function 2015-03-31 13:40:17 -07:00
Mohamed Hegazy cb00b47254 use descript and it to run tests 2015-03-31 13:32:53 -07:00
Mohamed Hegazy 3d4445c645 Add contents for editTest 2015-03-31 12:42:40 -07:00
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
Mohamed Hegazy b6d5781c11 Remove commented code 2015-03-31 12:25:44 -07:00
Mohamed Hegazy bf565c70a4 Use assert 2015-03-31 12:21:11 -07:00
Mohamed Hegazy d45143815b initial checkin 2015-03-31 12:20:30 -07:00
Vladimir Matveev 1803d730c2 added initial set of unit tests for separate compilation mode 2015-03-30 23:17:45 -07:00
Mohamed Hegazy 757257b9a1 Ensure export= is emitted correctelly in declaration files 2015-03-30 22:18:13 -07:00