/** * Called when emitting fails * * @param xp.compiler.io.Source src * @param lang.FormatException reason */ public function emittingFailed(Source $src, \lang\FormatException $reason) { $this->writer->writeLine('*** @', $src, ':'); $this->writer->writeLine($reason->compoundMessage()); }
/** * Called when emitting fails * * @param xp.compiler.io.Source src * @param lang.FormatException reason */ public function emittingFailed(Source $src, \lang\FormatException $reason) { $this->writer->writeLine($src, ': ', $reason->compoundMessage()); $reason->printStackTrace(); }
/** * Called when emitting fails * * @param xp.compiler.io.Source src * @param lang.FormatException reason */ public function emittingFailed(Source $src, \lang\FormatException $reason) { $this->writer->write('E'); $this->failed++; $this->messages[$src->getURI()] = $reason->compoundMessage(); }