Browse Source

+ bug0167 and bug0168

Jonas Maebe 27 years ago
parent
commit
3c206f12c9
3 changed files with 17 additions and 0 deletions
  1. 9 0
      bugs/bug0167.pp
  2. 6 0
      bugs/bug0168.pp
  3. 2 0
      bugs/readme.txt

+ 9 - 0
bugs/bug0167.pp

@@ -0,0 +1,9 @@
+type ObjTest = Object
+     End;
+
+Procedure ObjTest;
+Begin
+end;
+
+Begin
+end.

+ 6 - 0
bugs/bug0168.pp

@@ -0,0 +1,6 @@
+var bset: set of 0..31;
+    b: byte;
+
+Begin
+  bset := bset + b;
+End.

+ 2 - 0
bugs/readme.txt

@@ -220,3 +220,5 @@ bug0161.pp   internal error when trying to create a set with another set as
 bug0163.pp   missing <= and >= operators for sets.
 bug0163.pp   missing <= and >= operators for sets.
 bug0165.pp   missing range check code for enumerated types.
 bug0165.pp   missing range check code for enumerated types.
 bug0166.pp   forward type used in declaration crashes instead of error
 bug0166.pp   forward type used in declaration crashes instead of error
+bug0167.pp   crash when declaring a procedure with same name as object type
+bug0168.pp   set:=set+element is allowed (should be: set:=set+[element])