home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel PPC / lib_msg / bad_redefine2.e < prev    next >
Encoding:
Text File  |  1996-06-13  |  428 b   |  27 lines  |  [TEXT/EDIT]

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class BAD_REDEFINE2
  5.    
  6. inherit ANY redefine same_type end;
  7.    
  8. creation {ANY}
  9.    make
  10.    
  11. feature {ANY}
  12.    
  13.    make is 
  14.       local
  15.      c: like Current;
  16.       do 
  17.      check
  18.         c.same_type(Current);
  19.      end;
  20.       end;
  21.    
  22.    same_type(other: GENERAL): BOOLEAN is
  23.       do
  24.       end;
  25.  
  26. end -- BAD_REDEFINE2
  27.