Examples of UnexpectedType


Examples of org.rascalmpl.interpreter.staticErrors.UnexpectedType

      try {
        Result<IValue> cval = this.getCondition().interpret(__eval);

        if (!cval.getType().isBool()) {
          throw new UnexpectedType(TF.boolType(),
              cval.getType(), this);
        }

        if (cval.isTrue()) {
          return this.getThenExp().interpret(__eval);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.