flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-34951) Returning undefined on a non-void function does not cause an error on compiling
Date Wed, 06 Apr 2016 04:30:25 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean resolved FLEX-34951.
----------------------------------
    Resolution: Not A Bug

Please comment and/or reopen if you think this is still a bug.

> Returning undefined on a non-void function does not cause an error on compiling
> -------------------------------------------------------------------------------
>
>                 Key: FLEX-34951
>                 URL: https://issues.apache.org/jira/browse/FLEX-34951
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.14.1
>         Environment: Linux 4.2.3 x86_64
>            Reporter: Sword Dragon
>         Attachments: testcase.mxml
>
>
> For example if a function expects to get int returned but a String is being returned
the compiler exits with an error but if undefined is being returned the compiler accepts this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message