+ bug0167 and bug0168

This commit is contained in:
Jonas Maebe 1998-10-05 13:00:39 +00:00
parent 2fa5fa850d
commit 3c206f12c9
3 changed files with 17 additions and 0 deletions

9
bugs/bug0167.pp Normal file
View File

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

6
bugs/bug0168.pp Normal file
View File

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

View File

@ -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])