GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Legal JS is interpreted incorrectly in the presence of certain keywords · Issue #2995 · microsoft/TypeScript Closed Labels BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue Milestone DescriptionTake the following code. var type; var string; var Foo; type Foo = string; Now add a newline between var type; var string; var Foo; type Foo = string; Still valid, but should have a completely different meaning now. In the first, we have a type alias, while in the second, we have a lone identifier and a declaration. Here's actually a few contexts where we do the wrong thing:
namespace // this is the identifier 'namespace' m // this is the identifier 'm' { } // this is a block body
declare // this is the identifier 'declare' module // this is the identifier 'module' "my external module" // this is just a string { } // this is a block body Activity
MetadataMetadataLabelsBugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |