* When there is a domain check, we have to evaluate the argument.
Can't be lazy!
This commit is contained in:
		
							parent
							
								
									f4c5531d92
								
							
						
					
					
						commit
						7a3a5d1608
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -56,6 +56,7 @@ static Expr substArgs(EvalState & state, | ||||||
| 
 | 
 | ||||||
|         ATermList valids; |         ATermList valids; | ||||||
|         if (matchValidValues(valids2, valids)) { |         if (matchValidValues(valids2, valids)) { | ||||||
|  |             value = evalExpr(state, value); | ||||||
|             bool found = false; |             bool found = false; | ||||||
|             for (ATermIterator j(valids); j; ++j) { |             for (ATermIterator j(valids); j; ++j) { | ||||||
|                 Expr v = evalExpr(state, *j); |                 Expr v = evalExpr(state, *j); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue