[Bug 657] New: strictvars not working

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug 657] New: strictvars not working

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

Reply to Author | View Threaded | Show Only this Message

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

[Bug 657] strictvars not working

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

Reply to Author | View Threaded | Show Only this Message

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





------- Comment #1 from maksim.lin@...  2009-02-18 05:30 -------
Created an attachment (id=108)
 --> (http://helma.org/bugs/attachment.cgi?id=108&action=view)
patch to make strictvars produce errors


--
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

[Bug 657] strictvars not working

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

Reply to Author | View Threaded | Show Only this Message

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





------- Comment #2 from maksim.lin@...  2009-02-18 05:31 -------
the Rhino docs page I referred to in the bug report:
https://developer.mozilla.org/en/New_in_Rhino_1.6R6


--
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

[Bug 657] strictvars not working

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

Reply to Author | View Threaded | Show Only this Message

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


hannes@... changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7.0




------- Comment #3 from hannes@...  2009-02-18 10:25 -------
I committed your (slightly simplified) patch to svn trunk.


--
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