santiagopg    02/04/04 13:10:30

  Modified:    java/src/org/apache/xalan/xsltc/compiler FunctionCall.java
  Log:
  Fix related to bugzilla 7721
  
  Revision  Changes    Path
  1.14      +6 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FunctionCall.java
  
  Index: FunctionCall.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FunctionCall.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- FunctionCall.java 4 Apr 2002 19:04:03 -0000       1.13
  +++ FunctionCall.java 4 Apr 2002 21:10:30 -0000       1.14
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: FunctionCall.java,v 1.13 2002/04/04 19:04:03 santiagopg Exp $
  + * @(#)$Id: FunctionCall.java,v 1.14 2002/04/04 21:10:30 santiagopg Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -170,6 +170,7 @@
       public FunctionCall(QName fname, Vector arguments) {
        _fname = fname;
        _arguments = arguments;
  +     _type = null;
       }
   
       public FunctionCall(QName fname) {
  @@ -209,7 +210,10 @@
        * Type check a function call. Since different type conversions apply,
        * type checking is different for standard and external (Java) functions.
        */
  -    public Type typeCheck(SymbolTable stable) throws TypeCheckError {
  +    public Type typeCheck(SymbolTable stable) 
  +     throws TypeCheckError 
  +    {
  +     if (_type != null) return _type;
   
        final String namespace = _fname.getNamespace();
        final String local = _fname.getLocalPart();
  
  
  

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

Reply via email to