gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/misc-mtasc.all function.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/misc-mtasc.all function.as
Date: Tue, 06 Mar 2007 09:06:33 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/03/06 09:06:33

Modified files:
        testsuite/misc-mtasc.all: function.as 

Log message:
        check that super is an object, not a function.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/function.as?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/function.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- function.as 6 Mar 2007 08:49:05 -0000       1.2
+++ function.as 6 Mar 2007 09:06:33 -0000       1.3
@@ -4,7 +4,8 @@
 {
        function Test()
        {
-               super();
+               _root.check_equals(typeof(super), 'object');
+               super(); // how can we invoke an object here !?
        }
 
        static function main(mc)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]