equal
deleted
inserted
replaced
576 } |
576 } |
577 return log.nerrors; |
577 return log.nerrors; |
578 } |
578 } |
579 |
579 |
580 protected final <T> Queue<T> stopIfError(CompileState cs, Queue<T> queue) { |
580 protected final <T> Queue<T> stopIfError(CompileState cs, Queue<T> queue) { |
581 return shouldStop(cs) ? new ListBuffer<>() : queue; |
581 return shouldStop(cs) ? new ListBuffer<T>() : queue; |
582 } |
582 } |
583 |
583 |
584 protected final <T> List<T> stopIfError(CompileState cs, List<T> list) { |
584 protected final <T> List<T> stopIfError(CompileState cs, List<T> list) { |
585 return shouldStop(cs) ? List.<T>nil() : list; |
585 return shouldStop(cs) ? List.<T>nil() : list; |
586 } |
586 } |