Commit Graph

8057 Commits

Author SHA1 Message Date
Wesley Wigham
fe5bca8712 Next-line rule was too strict
We have a few places where we do this:
```ts
if {
  //...
}
// Look, a comment
else {
  //...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Mohamed Hegazy
cd390fd83b Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-09-17 17:16:00 -07:00
Wesley Wigham
e813963040 Merge pull request #4458 from weswigham/tslint-rules
Add tslint rules for #3994
2015-09-17 17:05:42 -07:00
Mohamed Hegazy
1e0b9cab45 accept baselines 2015-09-17 16:14:58 -07:00
Mohamed Hegazy
98db640a2c Fix documentation 2015-09-17 16:14:46 -07:00
Mohamed Hegazy
6969986bf0 Use intersection types in Object.assing defintion 2015-09-17 16:14:39 -07:00
Wesley Wigham
2793bc2acd Feedback from PR, remove unused identifiers 2015-09-17 14:29:52 -07:00
Wesley Wigham
e200dadd9a Merge pull request #4829 from weswigham/default-aliasing-bug
Default aliasing bug fix
2015-09-17 13:49:17 -07:00
Wesley Wigham
f3062c59fd style nits 2015-09-17 13:03:47 -07:00
Wesley Wigham
5dfca610f9 When targeting ES3 emit default alias as indexer 2015-09-16 17:33:49 -07:00
Wesley Wigham
a2d7b09488 failing test 2015-09-16 15:47:52 -07:00
Daniel Rosenwasser
c9170b81a8 Merge pull request #4815 from basarat/patch-1
fix types : export the base as children are exported
2015-09-15 20:42:19 -07:00
Mohamed Hegazy
fc438eff22 Merge pull request #4774 from Microsoft/iocaptureFixes
Fixes for the the tsc instrumentation and adding tsconfig support to rwc runner
2015-09-15 17:57:58 -07:00
Basarat Ali Syed
32048ca5ac fix types : export the base as children are exported 2015-09-16 10:57:54 +10:00
Mohamed Hegazy
5b5d876cc2 more code review comments 2015-09-15 17:47:50 -07:00
Mohamed Hegazy
a93ab613fe Merge branch 'master' into iocaptureFixes 2015-09-15 17:41:34 -07:00
Daniel Rosenwasser
4fedd77c33 Update LKG. 2015-09-15 15:18:59 -07:00
Daniel Rosenwasser
ad8bcfabdc handeles -> handles 2015-09-15 15:18:24 -07:00
Daniel Rosenwasser
45ecce4710 Merge pull request #4809 from Microsoft/mergeFromRelease1.6
Merge from release-1.6
2015-09-15 15:16:44 -07:00
Daniel Rosenwasser
00dcb57e3b Bump version back to 1.7.0. 2015-09-15 15:08:48 -07:00
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Mohamed Hegazy
bccd1762f2 Merge pull request #4383 from Microsoft/cleanHarnessOptionLoading
Clean harness option loading
2015-09-15 13:16:12 -07:00
Mohamed Hegazy
c735a98523 Respond to code review comments 2015-09-15 12:47:11 -07:00
Mohamed Hegazy
c1e536f255 code review comments 2015-09-15 12:33:45 -07:00
Mohamed Hegazy
ce8641f261 Merge branch 'master' into iocaptureFixes 2015-09-15 12:15:53 -07:00
Mohamed Hegazy
48d0e6d197 Update tests to use "removeComments" instead of "comments" 2015-09-15 12:08:55 -07:00
Mohamed Hegazy
4c1089f781 Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	tests/cases/compiler/pinnedComments1.ts
2015-09-15 12:08:37 -07:00
Mohamed Hegazy
d491a301e5 Breaking changes from node resolution changes. ambient module declarations do not take precedance any longer. 2015-09-15 11:44:12 -07:00
Mohamed Hegazy
c63dfbd4c7 Update node resolution tests 2015-09-15 11:43:28 -07:00
Mohamed Hegazy
ee5881ef9c Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	src/harness/harness.ts
2015-09-14 16:53:08 -07:00
Vladimir Matveev
89718cf5a5 Merge pull request #4758 from Microsoft/updateErrorText
update error message text when external typings file in node package is not module
2015-09-14 15:40:11 -07:00
Vladimir Matveev
35aa774315 Merge pull request #4794 from Microsoft/emptyModuleName
report error if module name is empty
2015-09-14 14:53:19 -07:00
Vladimir Matveev
5636655cf4 report error if module name is empty 2015-09-14 14:33:35 -07:00
Mohamed Hegazy
d9112f5e98 use resolvePath to handel relative references correctelly 2015-09-13 23:35:22 -07:00
Mohamed Hegazy
7ae902d75a Handel compiler options correctelly 2015-09-13 23:26:52 -07:00
Mohamed Hegazy
0d126e2ad7 add support for tsconfig files in the rwc instrumenter/replay 2015-09-12 14:40:05 -07:00
Vladimir Matveev
d37eaa8d70 update error message text 2015-09-12 12:46:18 -07:00
Mohamed Hegazy
36acaff6dc Add wrapSystem function 2015-09-12 05:23:53 -07:00
Mohamed Hegazy
62b9b556c8 use sting templates 2015-09-12 05:21:08 -07:00
Mohamed Hegazy
a44d8e76c6 Update LKG v1.6.2 2015-09-11 11:32:35 -07:00
Vladimir Matveev
5b764205fe Merge pull request #4750 from Microsoft/Port-4749
Port PR 4749 into release-1.6
2015-09-11 10:21:20 -07:00
Vladimir Matveev
90273f995d Merge pull request #4749 from Microsoft/systemExportOnlyValues
Emit export specifiers in system modules only if export has a value side
2015-09-11 10:21:11 -07:00
Vladimir Matveev
fa7a59fdcf Merge pull request #4744 from Microsoft/Port-4738
Ports PR-4738 into release-1.6
2015-09-11 10:20:55 -07:00
Vladimir Matveev
026632bca8 Merge pull request #4738 from Microsoft/properExternalModules
Check if imported file is a proper external module for imported node typings
2015-09-11 10:20:42 -07:00
Vladimir Matveev
0e5196180e emit export specifiers in system modules only if export has a value side 2015-09-11 09:38:51 -07:00
Vladimir Matveev
c72469a66f emit export specifiers in system modules only if export has a value side 2015-09-11 09:36:17 -07:00
Anders Hejlsberg
dcb9e1c7a5 Merge pull request #4598 from Microsoft/destructuringInitializers
Improved checking of destructuring with literal initializers
2015-09-11 09:12:45 -07:00
Vladimir Matveev
a880be1f75 resolve merge conflicts, update tests 2015-09-10 21:53:49 -07:00
Vladimir Matveev
031fdf19e0 addressed PR feedback 2015-09-10 21:53:15 -07:00
Vladimir Matveev
98f31635f8 Check if imported file is a proper external module 2015-09-10 21:46:03 -07:00