Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Rosenwasser b75605e55e Accepted baselines. 2016-05-01 21:53:27 -07:00
Daniel Rosenwasser ee4baef51f Applied suggested change. 2016-05-01 21:08:53 -07:00
Daniel Rosenwasser fa67cb86b3 Merge remote-tracking branch 'origin/master' into thisTypesInBasePropAndContainer 2016-05-01 20:52:51 -07:00
Daniel Rosenwasser 9bc6de39c4 Merge branch 'transforms' into exportTransforms 2016-04-20 12:08:23 -07:00
Daniel Rosenwasser 659446befb Merge branch 'transforms' into exportTransforms
Conflicts:
	src/compiler/transformers/module/module.ts
2016-04-19 15:59:50 -07:00
Daniel Rosenwasser 74557b6ffc Addressed CR feedback (which fixed 'tests/cases/conformance/es6/modules/exportsAndImports3-amd.ts'). 2016-04-19 15:51:02 -07:00
Daniel Rosenwasser 361c661cd9 Updated appropriate baselines. 2016-04-19 13:40:43 -07:00
Daniel Rosenwasser 92068dbe6b Use the '__assign' helper in transforms. 2016-04-19 13:37:17 -07:00
Daniel Rosenwasser d5a27a196e Bump TS services version to 0.5. 2016-04-18 10:12:40 -07:00
Daniel Rosenwasser 25d7229cbb O -> Of 2016-04-18 10:08:48 -07:00
Daniel Rosenwasser ac1d2187ce Accepted symbol baselines. 2016-04-16 19:23:13 -07:00
Daniel Rosenwasser a07e25a0a8 Added another fourslash test. 2016-04-16 19:18:03 -07:00
Daniel Rosenwasser c05fac72fb Use an element access when displaying literal members. 2016-04-16 18:46:27 -07:00
Daniel Rosenwasser 5814261d6c Added tests for quick-info on string-named enum members. 2016-04-16 12:57:26 -07:00
Daniel Rosenwasser 3dd340179c Correct export assignments for when the variable declaration has an export modifier. 2016-04-15 16:42:54 -07:00
Daniel Rosenwasser 0409c242af Merge branch 'transforms' into exportTransforms 2016-04-14 13:31:21 -07:00
Daniel Rosenwasser bce1a06c08 Added an assertion to ensure export assignments for expression statements are only emitted for decorated clases. 2016-04-14 13:15:22 -07:00
Daniel Rosenwasser 482dfb61be Fixed emit for decorated classes that eventually get exported. 2016-04-14 13:15:20 -07:00
Daniel Rosenwasser e13a07e3bd Emit 'exports.foo' assignments for bindings that are exported in specifiers. 2016-04-14 13:15:12 -07:00
Daniel Rosenwasser a25c70b47d Accepted baselines. 2016-04-12 17:09:15 -07:00
Daniel Rosenwasser 0417592ccb Include exported name in error message. 2016-04-12 16:52:57 -07:00
Daniel Rosenwasser 73dbe41cd1 Accepted baselines. 2016-04-08 12:40:26 -07:00
Daniel Rosenwasser fb6f4aefd9 Changed emit to use 'Object.prototype.hasOwnProperty'. 2016-04-08 12:34:25 -07:00
Daniel Rosenwasser 67a77dde40 Accepted baselines. 2016-04-08 10:32:56 -07:00
Daniel Rosenwasser a90d471b87 Remove unnecessary 'null'/'undefined' check, removed temp for args length. 2016-04-07 23:25:32 -07:00
Daniel Rosenwasser 8ed7c76b43 Accepted baselines. 2016-04-07 18:31:46 -07:00
Daniel Rosenwasser bb0ec3bbd4 Use an emit helper for JSX Spread Attributes. 2016-04-07 18:30:26 -07:00
Daniel Rosenwasser cfb9001e18 Accepted baselines. 2016-04-07 00:58:53 -07:00
Daniel Rosenwasser 1e18618170 Ensure that the entire contents are simply 'use strict'. 2016-04-07 00:56:39 -07:00
Daniel Rosenwasser 3a35aa30da Accepted baselines. 2016-04-07 00:56:28 -07:00
Daniel Rosenwasser c57e54eeae Added test. 2016-04-07 00:56:18 -07:00
Daniel Rosenwasser 2abc736955 Ensure that the entire contents of the prologue are simply 'use strict'. 2016-04-07 00:55:02 -07:00
Daniel Rosenwasser 1d16356cc6 Accepted baselines. 2016-04-07 00:48:11 -07:00
Daniel Rosenwasser e9e8837474 Ensure that the entire contents are simply 'use strict'. 2016-04-07 00:47:29 -07:00
Daniel Rosenwasser dbaa6e163c Accepted baselines. 2016-04-07 00:42:04 -07:00
Daniel Rosenwasser 26e1d8dee0 Added test. 2016-04-07 00:41:40 -07:00
Daniel Rosenwasser 42351a8a99 Export the respective let binding when a decorated class is exported. 2016-04-06 20:35:28 -07:00
Daniel Rosenwasser b6111235dc Emit imports as const declarations. 2016-04-06 17:05:06 -07:00
Daniel Rosenwasser 1138b33c38 Only emit the module specifier on an export if it is present. 2016-04-06 16:10:01 -07:00
Daniel Rosenwasser 917928b7ee Add a newline after emitting shebangs. 2016-04-06 14:27:57 -07:00
Daniel Rosenwasser 3cc64cbd29 Undo comment override from merge. 2016-03-30 01:03:32 -07:00
Daniel Rosenwasser a3faca57d0 Merge branch 'master' into comparableRelation 2016-03-30 01:01:02 -07:00
Daniel Rosenwasser e9aeaa2f0d Accepted baselines. 2016-03-20 12:31:11 -07:00
Daniel Rosenwasser 323a195db9 Don't elaborate errors when trying to relate a primitive to a union. 2016-03-20 12:30:54 -07:00
Daniel Rosenwasser dbf8b02656 Use single-quoted strings in certain places. 2016-02-29 11:13:20 -08:00
Daniel Rosenwasser e23c023ada Allow single quoted strings when double quotes would otherwise need to be escaped. 2016-02-29 11:11:23 -08:00
Daniel Rosenwasser 268b2d44fa Accepted baselines. 2016-02-28 20:22:46 -08:00
Daniel Rosenwasser cdd10b09b1 Instantiate type parameters with themselves as their 'this' type when relating. 2016-02-28 20:08:55 -08:00
Daniel Rosenwasser daf15963a3 Accepted baselines. 2016-02-28 20:06:07 -08:00
Daniel Rosenwasser 0abb4c907e Added tests. 2016-02-28 19:57:12 -08:00
Daniel Rosenwasser e579d17e7e Revert "spelling fixes for src" on generated dom lib.
This reverts commit bb85817d7d.
2016-02-26 12:46:24 -08:00
Daniel Rosenwasser 818c76c089 Accepted baselines. 2016-02-23 20:18:48 -08:00
Daniel Rosenwasser 7e4532f4a3 Never elaborate errors when relating from intersections. 2016-02-23 20:18:35 -08:00
Daniel Rosenwasser db678493c1 Accepted baselines. 2016-02-23 20:07:50 -08:00
Daniel Rosenwasser eb1a70cd16 Added tests. 2016-02-23 19:59:16 -08:00
Daniel Rosenwasser 804e8b9abf Appease linter. 2016-02-23 14:12:22 -08:00
Daniel Rosenwasser cfb5634de1 Accepted baselines. 2016-02-23 13:34:26 -08:00
Daniel Rosenwasser 035ccb9ad2 Don't elaborate errors for relations from intersections to object types. 2016-02-23 13:30:34 -08:00
Daniel Rosenwasser 07412a285a Accepted baselines. 2016-02-23 13:10:40 -08:00
Daniel Rosenwasser f579bcf8ae Added tests. 2016-02-23 13:07:46 -08:00
Daniel Rosenwasser c03aace7ca Accepted baselines. 2016-02-20 01:02:12 -08:00
Daniel Rosenwasser b71ec381f9 Added tests for ASI and element access with 'let'. 2016-02-20 00:58:20 -08:00
Daniel Rosenwasser e29be4b2d9 Added the accidentally-ignored js files. 2016-02-12 17:39:46 -08:00
Daniel Rosenwasser c5d5d13e61 Remove the 'module' option from 'tsconfig.json' files. 2016-02-12 17:28:10 -08:00
Daniel Rosenwasser 60228d93e8 Ignore using the correct glob. 2016-02-12 17:23:27 -08:00
Daniel Rosenwasser 1e849f895c Accepted baselines. 2016-02-12 16:28:48 -08:00
Daniel Rosenwasser 1e2760696e Added tests for declaration emit. 2016-02-12 15:22:38 -08:00
Daniel Rosenwasser f944d3e997 Addressed CR feedback. 2016-02-12 15:22:33 -08:00
Daniel Rosenwasser ba392403cc Fixed up fourslash tests to only test functions. 2016-02-12 15:22:25 -08:00
Daniel Rosenwasser ab5bc714a5 Removed trailing whitespace for linter. 2016-02-12 15:22:18 -08:00
Daniel Rosenwasser b191a00b1c Actually, it makes more sense to error on the predicate annotation than anything else. 2016-02-12 15:22:14 -08:00
Daniel Rosenwasser 050f52f07d Added tests. 2016-02-12 15:22:06 -08:00
Daniel Rosenwasser ec0eabb2e9 Minor rename. 2016-02-12 15:22:03 -08:00
Daniel Rosenwasser 7c7e2aa032 Error on nodes which should not have type predicates. 2016-02-12 15:21:58 -08:00
Daniel Rosenwasser cf13a71af4 Move type predicates back onto signatures, remove narrowing for property/get type guards. 2016-02-12 15:21:48 -08:00
Daniel Rosenwasser e0c9e3bea9 Accepted baselines. 2016-02-12 14:44:52 -08:00
Daniel Rosenwasser 2d9330567c Use names of accessors instead of their entire spans. 2016-02-12 14:24:12 -08:00
Daniel Rosenwasser b104342c63 Add 'wiki' and 'handbook' directories to the docs folder with READMEs. 2016-02-08 17:30:26 -08:00
Daniel Rosenwasser 73d9a941c8 Accepted that other baseline. 2016-02-01 14:17:35 -08:00
Daniel Rosenwasser 25d2140626 Accepted baselines. 2016-02-01 14:17:33 -08:00
Daniel Rosenwasser bf4b63d3ba Only error on 'export =' declarations. 2016-02-01 14:17:31 -08:00
Daniel Rosenwasser dd0a2e0340 Added tests. 2016-02-01 14:17:29 -08:00
Daniel Rosenwasser ad9bff88fa Merge branch 'master' into theyreNotTHATSpecial 2016-01-29 14:47:23 -08:00
Daniel Rosenwasser 5e05c75e93 Merge branch 'master' into theyreNotTHATSpecial 2016-01-27 11:53:42 -08:00
Daniel Rosenwasser d5a585fb96 Fix 'includes' method in 'Int8Array'. 2016-01-22 13:43:23 -08:00
Daniel Rosenwasser 59a1afaac6 Merge branch 'master' into theyreNotTHATSpecial
Conflicts:
	src/compiler/checker.ts
2016-01-19 16:52:46 -08:00
Daniel Rosenwasser 26fdf891e9 Fix lint errors. 2016-01-16 14:05:46 -08:00
Daniel Rosenwasser 6fa51f1c02 Go back to depending on nightly builds of TypeScript. 2016-01-16 12:59:02 -08:00
Daniel Rosenwasser 806565457f Accepted baselines. 2016-01-14 17:05:28 -08:00
Daniel Rosenwasser e980f46cbe Look up static members from instance methods. 2016-01-14 17:05:09 -08:00
Daniel Rosenwasser e7cee96007 Accepted baselines. 2016-01-14 16:28:22 -08:00
Daniel Rosenwasser 32454d0a84 Added tests. 2016-01-14 16:28:07 -08:00
Daniel Rosenwasser 74293a4b1d Merge branch 'master' into refactorSignatureRelatability 2016-01-14 13:05:25 -08:00
Daniel Rosenwasser e9330be338 Merge branch 'master' into refactorSignatureRelatability 2016-01-14 12:58:41 -08:00
Daniel Rosenwasser 273cfc1cd7 Back to booleans.
I totally have an infinite amount of time to work on this.
2016-01-14 11:33:05 -08:00
Daniel Rosenwasser e8d4cf8231 Documented the 'ReportErrors' enum. 2016-01-14 11:01:21 -08:00
Daniel Rosenwasser 17ff54d09b Just check if the original type is a primitive instead of checking the apparent type. 2016-01-14 10:54:08 -08:00
Daniel Rosenwasser 62c3bfb1fb Temporarily use an older nightly so builds can succeed. 2016-01-14 10:17:32 -08:00
Daniel Rosenwasser 94eb1079fd Print the names of files being linted. 2016-01-14 10:14:25 -08:00
Daniel Rosenwasser 6e0fde37f8 Added missing semicolon. 2016-01-13 23:19:49 -08:00