annotate lab3/bug.p @ 0:bfdcc3820b32

Basis
author Mike Spivey <mike@cs.ox.ac.uk>
date Thu, 05 Oct 2017 08:04:15 +0100
parents
children
rev   line source
0
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
1 proc noret();
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
2 begin
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
3 end;
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
4
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
5 begin
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
6 print noret()
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
7 end.
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
8
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
9 (*<<
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
10 Runtime error: function failed to return a result in module Main
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
11 In procedure noret_1
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
12 called from MAIN
Mike Spivey <mike@cs.ox.ac.uk>
parents:
diff changeset
13 >>*)