morten      01/09/17 07:29:54

  Modified:    java/src/org/apache/xalan/xsltc/compiler Predicate.java
  Log:
  Fix for parameter references used within predicates.
  PR:           bugzilla 3405
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.11      +2 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java
  
  Index: Predicate.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Predicate.java    2001/08/27 09:07:19     1.10
  +++ Predicate.java    2001/09/17 14:29:54     1.11
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Predicate.java,v 1.10 2001/08/27 09:07:19 morten Exp $
  + * @(#)$Id: Predicate.java,v 1.11 2001/09/17 14:29:54 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -157,7 +157,7 @@
   
        // We need explicit type information for reference types - no good!
        if (texp instanceof ReferenceType) {
  -         throw new TypeCheckError(this);
  +         _exp = new CastExpr(_exp, texp = Type.Real);
        }
   
        // A result tree fragment should not be cast directly to a number type,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to