Re: symbol resolution (was:EuCOM : Attn Matt : String Return Value)
- Posted by Matt Lewis <matthewwalkerlewis at g?ail.co?> Oct 12, 2007
- 910 views
Pete Lomax wrote: > > Matt Lewis wrote: > > Heh. I added the warning and tested against eu/ec/backend.ex. It was > > an absolute torrent of warnings. > > Are you giving field or file level warnings, eg > Warning: scanner.e uses global(s) from global.e but does not include it > {symtab_index, boolean, gline_number, line_number, OpTrace, ...} > vs > scanner.e:27 Warning: symtab_index from global.e assumed > scanner.e:29 Warning: boolean from global.e assumed > scanner.e:61 Warning: gline_number from global.e assumed > scanner.e:62 Warning: line_number from global.e assumed I was giving a per instance warning, though a bit less specific than your example (mainly because it was easy, and the first thing I thought of). Only giving one warning per symbol per file (i.e., no repeat warnings for symtab_index as above) will complicate things, as it doesn't really follow the warning infrastructure that's in place (at least, I don't think it does). > I woke up much less concerned with this, after all a torrent of warnings is > a small price to pay for safer code, though if it can be made a file-level > trickle > then even better. Agreed. Matt