« Return to Thread: [Bug 657] New: strictvars not working

[Bug 657] New: strictvars not working

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View in Thread

http://helma.org/bugs/show_bug.cgi?id=657

           Summary: strictvars not working
           Product: Helma
           Version: 1.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: JavaScript Interpreter
        AssignedTo: helma-dev@...
        ReportedBy: maksim.lin@...


I noticed that strictvars did not produce errors when I had a reference in code
to a variable without a "var, eg.

test.hac:
//a strictvars error
foo = "test";

I noticed on the rhino page describing this feature that you need to enable
another Context feature (FEATURE_WARNING_AS_ERROR) to cause the warnings for
strictvars to be errors.
Once I did this in Helma, I did get errors for the above code example.
I will attach the tiny patch for the change to this bug.


--
Configure bugmail: http://helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

 « Return to Thread: [Bug 657] New: strictvars not working