[sv-ec] Where can you use "this"?

From: Francoise Martinolle <fm_at_.....>
Date: Mon Sep 08 2008 - 08:31:29 PDT
The LRM says that you can only use "this" within non static class
methods.
But it seems that we should be able to write to use it to initialize
automatic class properties.
Should the LRM test be fixed?
 
module top;
  class C;
     C m = this;
  endclass
endmodule
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 8 08:32:08 2008

This archive was generated by hypermail 2.1.8 : Mon Sep 08 2008 - 08:32:58 PDT