Commit graph

5014 commits

Author SHA1 Message Date
CyrusNajmabadi
35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00
Cyrus Najmabadi
d048d7d3d2 Fix tests. 2015-04-02 13:59:53 -07:00
Cyrus Najmabadi
2eddf310dc Fix error spans for classes. 2015-04-02 13:33:55 -07:00
CyrusNajmabadi
feabcd044b Merge pull request #2522 from Microsoft/visitWorkaround
Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue.
2015-04-02 13:30:43 -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
189482e730 Produce a name for anonymous class expressions when we perform downlevel emit. 2015-04-01 17:28:59 -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
490dfef41b Merge pull request #2485 from Microsoft/transitiveExports
Fix completion lists for transitive exports
2015-04-01 13:50:29 -07:00
Daniel Rosenwasser
3290814b71 Update test. 2015-04-01 12:31:39 -07:00
Daniel Rosenwasser
17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy
8bf61c7be1 Update LKG 2015-04-01 09:26:30 -07:00
Mohamed Hegazy
e4a1c15fb3 Merge pull request #2553 from Microsoft/exportDefaultReference
Ensure we find export default declaration targets if we search for them by name
2015-04-01 08:31:44 -07:00
Mohamed Hegazy
27f5a28d01 mend 2015-03-31 21:49:31 -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
0c5d736251 Respond to code review remarks 2015-03-31 21:17:24 -07:00
Mohamed Hegazy
4f78695740 Respond to code review comments 2015-03-31 20:42:45 -07:00
Mohamed Hegazy
0afa4597a7 Merge pull request #2563 from Microsoft/exposeConfigFileHelpers
Expose readConfigFile and parseConfigFile
2015-03-31 20:39:47 -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
Daniel Rosenwasser
ab4d003d0a Merge branch 'master' into transitiveExports 2015-03-31 19:07:46 -07:00
CyrusNajmabadi
e34848d872 Merge pull request #2573 from Microsoft/classExpressionTests
Adding a couple of class tests.
2015-03-31 18:57:42 -07:00
Daniel Rosenwasser
54e1928b2a Moved arrow function to function declaration. 2015-03-31 18:34:43 -07:00
Daniel Rosenwasser
03a1542845 Merge pull request #2572 from Microsoft/seriouslyWhyWouldntYouWantComments
Keep comments in debug builds.
2015-03-31 18:34:31 -07:00
Cyrus Najmabadi
3df576d112 Adding a couple of class tests. 2015-03-31 18:11:54 -07:00
Daniel Rosenwasser
27f6f8f919 Keep comments in debug builds. 2015-03-31 18:00:02 -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
CyrusNajmabadi
0245211d46 Merge pull request #2567 from Microsoft/classExpressions
Add support for parsing and emitting class expressions.
2015-03-31 17:54:35 -07:00
Cyrus Najmabadi
afc38c2956 Rename method. 2015-03-31 17:36:15 -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
82bc91467c Add to build 2015-03-31 17:30:57 -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
93ff9e69d7 CR feedback. 2015-03-31 16:03:08 -07:00
Cyrus Najmabadi
fe5ed072fc Add file that was errantly removed. 2015-03-31 14:58:30 -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
785cb55977 Add explanatory comment. 2015-03-31 14:32:36 -07:00
Cyrus Najmabadi
99581fe5ef Remove blank line. 2015-03-31 14:31:12 -07:00
Cyrus Najmabadi
c59ce68c63 Fix comment. 2015-03-31 14:30:31 -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