[Issue 4982] Repeating same error message thousands of times due to brute forcing matching symbol name

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4982

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 4982] Repeating same error message thousands of times due to brute forcing matching symbol name

2010-10-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4982


Stewart Gordon s...@iname.com changed:

   What|Removed |Added

   Keywords|ice-on-invalid-code |rejects-valid


--- Comment #3 from Stewart Gordon s...@iname.com 2010-10-05 09:56:50 PDT ---
Well, obviously, but that isn't part of the bug being reported.  But I've just
found that the same happens with it in.

And I've just had a closer look at the output, and realise it's the spellcheck
facility seeing if there's something closely resembling the symbol it thinks is
undefined.  So the loop isn't infinite.  Though DMD's notion of closely
resembling puzzles me: if I reduce the name to s then it tries a total of
16130 of them.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4982] Repeating same error message thousands of times due to brute forcing matching symbol name

2010-10-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4982


Stewart Gordon s...@iname.com changed:

   What|Removed |Added

   Keywords||diagnostic,
   ||ice-on-invalid-code
 CC||s...@iname.com
   Platform|Other   |All
Version|D2  |D1  D2
 Blocks||340


--- Comment #1 from Stewart Gordon s...@iname.com 2010-10-04 06:02:35 PDT ---
The error message is bogus in any case.  Should be something like

test.d(11): no property 'someSymbol' for type 'B'

Though not technically an ICE, it seems to run into an infinite loop,
effectively hanging the compiler, hence my adding ice-on-invalid-code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4982] Repeating same error message thousands of times due to brute forcing matching symbol name

2010-10-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4982



--- Comment #2 from Koroskin Denis 2kor...@gmail.com 2010-10-04 11:59:44 PDT 
---
With int someSymbol; uncommented code becomes valid, isn't it?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---