| 1 |
MODULE bug9 ; |
| 2 |
|
| 3 |
(* Missing import; Using the element in an expression crashes the compiler. *) |
| 4 |
(* Using the element in an assignment is working. *) |
| 5 |
|
| 6 |
FROM ChanConsts IMPORT (*read, text,*) FlagSet; |
| 7 |
|
| 8 |
VAR |
| 9 |
flags: FlagSet; |
| 10 |
BEGIN |
| 11 |
flags := read ; |
| 12 |
|
| 13 |
END bug9. |