Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!eurtrx!euraiv1!reino From: reino@cs.eur.nl (Reino de Boer) Newsgroups: comp.lang.pascal Subject: Re: TP 6.0 compiler bug Message-ID: <1991Jan23.143521.198@cs.eur.nl> Date: 23 Jan 91 14:35:21 GMT References: <1991Jan21.201226.17448@maytag.waterloo.edu> Organization: Erasmus Universiteit Rotterdam, dept. CS (Informatica) Lines: 23 dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes: >A bug I just saw mentioned on Compuserve: >var > v : word; > >const > c : word = 23; > > b1 : word = c; { This won't end up as 23 } > b2 : word = v; { This doesn't even make sense, but it'll compile. } BTW. TP 5.X will give a compiler error 133: Cannot evaluate expression for both the bx declarations. Reino -- Reino R. A. de Boer "We want to build the right product right, right?" Erasmus University Rotterdam ( Informatica ) e-mail: reino@cs.eur.nl