This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Minimal Flow JS support | ||
---|---|---|---|
Product: | javascript | Reporter: | Jenselme |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | Jenselme, phejl |
Priority: | P1 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Wrong colors when varialbe declared with inline type annotation |
Description
Jenselme
2016-06-21 11:15:41 UTC
Treat it as enhancement. Is this ES8 spec? https://github.com/sirisian/ecmascript-types It's not the official SPEC (as far as I know ES7 is not completed yet). But from what I understand, the author off this document will propose this for ES7 (which makes sense since many dynamic and weakly typed languages (python3, perl6) are adding optional static types). I don't know if this will be accepted but I think it is very likely. (In reply to Jenselme from comment #3) > It's not the official SPEC (as far as I know ES7 is not completed yet). > > But from what I understand, the author off this document will propose this > for ES7 (which makes sense since many dynamic and weakly typed languages > (python3, perl6) are adding optional static types). I don't know if this > will be accepted but I think it is very likely. Looking here https://flowtype.org/docs/syntax.html#_ It's not actually the ES8 but proprietary similar syntax of the Flow and syntax extension not directly related to ES7 and ES8. We might evaluate a way for ignoring the type annotations (which is the way how it runs anyway). |