apache / apache/royale-asjs

When Application is missing initial view confusing variable null0 is undeclared warning occurs

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

If the initial view is missing from the application a warning is produced when compiling:
App.js:93: WARNING - variable null0 is undeclared
null0,
^^^^^

and the build is marked as successful.

Sample code to reproduce:
```



```

When run the program produces an RTE "Uncaught ReferenceError: null0 is not defined" at the same line number.

This is an user error obviously but would be nice if an error was raised not a warning or better still a warning/error stating you are missing the initialview.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.