Commit Graph

3701 Commits

Author SHA1 Message Date
Yui T
64427a9df1 Remove checking for scriptTarget before setting parsing context for classLikeDeclaration 2015-04-02 13:41:03 -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
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
0c5d736251 Respond to code review remarks 2015-03-31 21:17:24 -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
Daniel Rosenwasser
54e1928b2a Moved arrow function to function declaration. 2015-03-31 18:34:43 -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
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
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
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
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
Mohamed Hegazy
7f5337701f Consolidate test logic in one helper function 2015-03-31 13:40:17 -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
18d8fedbf5 Expose readConfigFile and parseConfigFile 2015-03-31 10:52:21 -07:00
Zev Spitz
7890a6894c Nre TextStreamWriter interface with JSDoc and additional members (ITextWriter is being used by the compiler and cannot be safely modified).. 2015-03-31 16:56:30 +03:00
Zev Spitz
b06e19bee8 Missing ; 2015-03-31 14:43:10 +03:00
Zev Spitz
41547dc2f2 JSDoc for WScript members 2015-03-31 14:09:43 +03:00
Zev Spitz
d53e0c2ac2 Added properties/methods for WScript - https://msdn.microsoft.com/en-us/library/2795740w(v=vs.84).aspx
per #2540
2015-03-31 12:59:50 +03:00
Mohamed Hegazy
cebe42b81f Remove unsed options 2015-03-30 23:32:11 -07:00
Vladimir Matveev
1803d730c2 added initial set of unit tests for separate compilation mode 2015-03-30 23:17:45 -07:00
Vladimir Matveev
49b3f85a17 disallow ambient const enums in 'separate compilation' mode 2015-03-30 22:42:54 -07:00
Vladimir Matveev
c885f59d1b do not include declaration files in 'is external module' check 2015-03-30 22:41:49 -07:00
Mohamed Hegazy
757257b9a1 Ensure export= is emitted correctelly in declaration files 2015-03-30 22:18:13 -07:00
Vladimir Matveev
955b4c0589 addressed CR feedback 2015-03-30 21:36:06 -07:00
Vladimir Matveev
a6c88e290e addressed CR feedback 2015-03-30 21:35:27 -07:00
Mohamed Hegazy
383f01dbf6 Handel export default declaration completions 2015-03-30 20:28:24 -07:00
Vladimir Matveev
4b7e6cfc2e addressed CR feedback, accepted baselines 2015-03-30 20:16:50 -07:00
Zev Spitz
4d0aa589f2 Allows extending ActiveXObject with with specialized overloads returning string types, per https://github.com/Microsoft/TypeScript/issues/2541. 2015-03-31 04:34:55 +03:00
Mohamed Hegazy
bea7221174 Ensure we find export default declaration targets if we search for them by name 2015-03-30 16:59:34 -07:00
Yui T
a26368a7d2 Merge branch 'master' into allowDestructuringInAmbient 2015-03-30 14:44:03 -07:00
Yui T
8320bca4d0 Fix emit trailing comma for array binding pattern for varaible declaration 2015-03-30 14:41:07 -07:00
Paul van Brenk
359648e74b Merge branch 'master' into referencesFileAssert 2015-03-30 13:39:57 -07:00
Mohamed Hegazy
b180324da0 Merge pull request #2512 from Microsoft/versionUpdate
update version number in package.json
2015-03-30 13:33:18 -07:00
Yui T
1f055b95aa Emit ommittedExpression in binding pattern 2015-03-30 13:25:46 -07:00
Vladimir Matveev
8f616ce65c fix typos in comments 2015-03-30 12:43:10 -07:00
Vladimir Matveev
d2d3f1e809 Merge branch 'master' into separateCompilation 2015-03-30 12:30:56 -07:00
Anders Hejlsberg
6e169d5bee Merge branch 'master' into exportDefault
Conflicts:
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration.js
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
2015-03-30 02:45:10 -07:00
Anders Hejlsberg
3a72c004a0 Emit generated name for unnamed default function in down-level code 2015-03-30 02:25:09 -07:00