[Mono-bugs] [Bug 72477][Wis] Changed - mjs, does not support the use of this.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 20 Feb 2005 19:04:39 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by cesar@ciencias.unam.mx.

http://bugzilla.ximian.com/show_bug.cgi?id=72477

--- shadow/72477	2005-02-11 01:11:23.000000000 -0500
+++ shadow/72477.tmp.3421	2005-02-20 19:04:39.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 72477
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Wishlist
 Component: JScript
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: cesar@ciencias.unam.mx               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -46,6 +46,30 @@
 Version: current svn.
 
 ------- Additional Comments From cesar@ciencias.unam.mx  2005-02-11 01:11 -------
 Created an attachment (id=14183)
 Test case.
 
+
+------- Additional Comments From cesar@ciencias.unam.mx  2005-02-20 19:04 -------
+Fixed on svn, we can do things like this now:
+
+function Rectangle (w, h)
+{
+    this.width = w;
+    this.height = h;
+}
+
+function compute_area ()
+{
+    return this.width * this.height;
+}
+
+var page = new Rectangle (8.5, 11);
+page.area = compute_area;
+
+var a = page.area ();
+
+print ("area = ", a);
+print ("should be: 93.5");
+
+