Граф коммитов

55 Коммитов

Автор SHA1 Сообщение Дата
Anders Hejlsberg 6b112b1a46 Merge branch 'master' into MergingErrors
Conflicts:
	src/compiler/checker.ts
2014-07-16 16:31:08 -07:00
Anders Hejlsberg bc0be761cd New baselines. 2014-07-16 16:15:10 -07:00
Mohamed Hegazy cb6a44e086 Update README.md
update dependencies list and added links
2014-07-16 16:14:32 -07:00
Anders Hejlsberg 70f8057dc7 Addressing code review feedback. 2014-07-16 16:14:29 -07:00
Mohamed Hegazy 72d7535bad Update tsc
update link
2014-07-16 16:06:45 -07:00
Mohamed Hegazy c49e9b2037 Update package.json
update links
2014-07-16 16:06:03 -07:00
Mohamed Hegazy 0903a93bdc Update .gitignore
remove unused file references
2014-07-16 16:00:04 -07:00
Mohamed Hegazy e41671e3b9 Update .npmignore
remove unused references
2014-07-16 15:57:55 -07:00
Jason Freeman b8c96a2bcd Remove assert 2014-07-16 15:22:14 -07:00
Sheetal Nandi fe1fea3710 Merge pull request #30 from Microsoft/declarations
Changes to determine when to qualify the symbol in given enclosing declaration
2014-07-16 15:20:00 -07:00
Daniel Rosenwasser 5ae265b755 Removed unnecessary check for commas in 'parseDelimitedList'. 2014-07-16 15:06:05 -07:00
Daniel Rosenwasser cece68098a Better error recovery when errant semicolon found in a class. 2014-07-16 15:06:03 -07:00
Sheetal Nandi 1bb219a3dd Incorporating code review feedback 2014-07-16 14:50:37 -07:00
Anders Hejlsberg e4ea5ef1f9 Fix for 954635: Clodule declaration ordering
Fix for 955714: Fundule declaration ordering
2014-07-16 14:23:39 -07:00
Daniel Rosenwasser 9ecf01b57a When importing, only check for reserved type names when importing a type. 2014-07-16 14:08:15 -07:00
Jason Freeman 2af62a9912 Error for more than one enum omitting an initial initializer 2014-07-16 13:50:08 -07:00
Jason Freeman 17563f3c5d Remove SymbolLinks.typeChecked 2014-07-16 13:34:27 -07:00
Mohamed Hegazy e668756ac2 Update CONTRIBUTING.md
Add link to coding guidelines wiki page
2014-07-16 12:46:52 -07:00
Anders Hejlsberg 411d7796d4 Merge pull request #29 from Microsoft/iofixes
More I/O fixes
2014-07-16 12:10:14 -07:00
Mohamed Hegazy 6ee5f81b8c Merge pull request #26 from Microsoft/contributions
Add contribution guidlines
2014-07-16 12:04:10 -07:00
Mohamed Hegazy 9f85b15ca1 add code review comments 2014-07-16 12:01:36 -07:00
Anders Hejlsberg f3f5993770 Incorporating code review feedback. 2014-07-16 11:46:25 -07:00
Sheetal Nandi 148abea09d Use the isDeclarationVisible in checker to determine if the declaration needs to be emitted
This would help in unifying logic of when to check if the type is visible
2014-07-16 11:37:49 -07:00
Sheetal Nandi 5a23dd0684 Check if accessible symbol needs futher qualification 2014-07-16 11:30:38 -07:00
Sheetal Nandi d8f3481d38 Check if there is alias symbol in the scope corresponding to the symbol whose name we are trying to get in the symbol table 2014-07-16 11:30:34 -07:00
Sheetal Nandi 2273355df4 Start emitting qualified path if the current symbol is not visible in enclosing declaration
Note that this doesnt handle aliases yet.
2014-07-16 11:30:14 -07:00
Anders Hejlsberg c1d0fd979d More I/O fixes
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Mohamed Hegazy 14d4881b2b add new lines 2014-07-15 17:40:28 -07:00
Mohamed Hegazy 61eea77056 remove some more smart quotes 2014-07-15 17:38:38 -07:00
Mohamed Hegazy e59c4d7554 add contribution guidlines 2014-07-15 17:26:23 -07:00
Mohamed Hegazy d7cb209806 add contribution guidlines 2014-07-15 17:13:54 -07:00
Vladimir Matveev 546a8492f2 fixed references in perftc 2014-07-15 16:06:53 -07:00
Sheetal Nandi 6a68b3744c Do not emit arrow style call signatures when writing T of T[] 2014-07-15 13:08:13 -07:00
Sheetal Nandi 574c075dba Emit the types in declaration file 2014-07-15 13:08:10 -07:00
Daniel Rosenwasser c777d5c68a Report error on unclosed multiline comment.
Fixes #22
2014-07-15 12:21:16 -07:00
Sheetal Nandi 455364cf5a Do not emit the signature for implementation of overload in the declaration file 2014-07-15 08:58:02 -07:00
Sheetal Nandi d1cdf03d53 Correct the external module check to determine if declaration is part of export assignment 2014-07-15 08:57:48 -07:00
Sheetal Nandi bb7f7fb8dd Correct the condition for variable statement emit in the declaraiton file 2014-07-15 08:57:39 -07:00
Sheetal Nandi cd14e36460 Emit alias declaration if its name is used as identifier of export assignment 2014-07-15 08:57:30 -07:00
Sheetal Nandi 063399d228 Emit declaration if its identifier is used in export assignment of external module 2014-07-15 08:57:22 -07:00
Sheetal Nandi ea7c23eb63 Emit global context declarations into the declaration file 2014-07-15 08:57:12 -07:00
Dan Quirk da4547ff5a Responding to CR feedback 2014-07-14 17:05:49 -07:00
Dan Quirk 4b1ff742dd Updating some tests for resolved bugs 2014-07-14 16:47:50 -07:00
Vladimir Matveev e9cd8a0e88 add prefixes for getCanonicalName 2014-07-14 14:44:56 -07:00
Vladimir Matveev 35ec15538a moved getCanonicalName to 'core' 2014-07-14 14:31:46 -07:00
Daniel Rosenwasser 56f29e02d2 Preserve trailing commas on array- and object-literals. 2014-07-14 14:26:19 -07:00
Daniel Rosenwasser ef67d5740e Support emit for trailing comma in array literals. 2014-07-14 14:26:17 -07:00
Jason Freeman 79d9539f7b Syntax error for nonambient module with a quoted name 2014-07-14 11:47:39 -07:00
Jason Freeman 60b521cddb Remove unnecessary isAmbientContext function 2014-07-14 11:46:42 -07:00
Vladimir Matveev 3646788571 derive value of 'useCaseSensitiveFileNames' from underlying platform for node base implementation of 'sys' 2014-07-14 11:16:21 -07:00