invariant:ex1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
invariant:ex1 [2007/02/25 17:35] – bdefrain | invariant:ex1 [2021/02/05 13:53] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Invariants: Find old tracing ====== | + | [[invariant: |
+ | [[invariant: | ||
+ | [[invariant: | ||
+ | [[invariant: | ||
+ | [[invariant: | ||
+ | [[invariant: | ||
**Task:** Signal an error for output on the standard output channel '' | **Task:** Signal an error for output on the standard output channel '' | ||
Line 8: | Line 13: | ||
package answers; | package answers; | ||
- | aspect | + | aspect |
declare error: | declare error: | ||
get(java.io.PrintStream System.out) && within(figures..*): | get(java.io.PrintStream System.out) && within(figures..*): | ||
Line 21: | Line 26: | ||
When you use this on the given system, you'll find one incorrect trace in '' | When you use this on the given system, you'll find one incorrect trace in '' | ||
+ | ---- | ||
+ | |||
+ | Comment out the offending output line and continue with [[invariant: |
invariant/ex1.1172421320.txt.gz · Last modified: 2007/02/25 17:35 by bdefrain