[r117] local constants trigger console messages

Bugs will be moved here once resolved.

Post » Fri Feb 01, 2013 7:00 pm

Link to .capx file (required!):
accessingLocalConstantVariables.capx

Steps to reproduce:
1. create a group
2. create a local constant inside the aforementioned group
3. create an event that reads this variable (ex: on start of layout -> Text: set text to LOCAL_CONSTANT)
4. run the preview

Observed result:
If you open the console, you should see the following line:
"Check: local var stack holds undefined value"

Expected result:
Nothing. But it's a problem when you have such access constantly in different places since it will flood the console.

Browsers affected:
Chrome: yes
Firefox: unchecked
Internet Explorer: unchecked

Operating system & service pack:
Windows server 2008 r2 SP1
Construct 2 version:
r117
    Yann2013-02-01 19:00:54
Last edited by Yann on Sun Sep 14, 2014 7:31 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Feb 04, 2013 1:50 pm

The message is harmless, but I guess it shouldn't appear - fixed for next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Feb 04, 2013 2:27 pm

Thanks (:
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests