colinlin1982 / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

system.text.html.Entities contains compc Warning for unreachable codepath #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile using compc with -warning turned on

What is the expected output? What do you see instead?
Should see a warning for unreachable codepath. See attached text files.

What version of the product are you using? On what operating system?
OS X, Flex SDK 3.2.0.3958

Please provide any additional information below.
Simple fix would be to put all add() in a static init function. See attached 
text files.

Original issue reported on code.google.com by pete...@gmail.com on 2 Mar 2009 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for that

we started HTML Entitites but didn't completely finished it
hence why the class is not completely sable and tested

Original comment by zwetan on 2 Mar 2009 at 2:03

GoogleCodeExporter commented 9 years ago
more infos on that

this happen when using the Flex SDK 3.2.0 for ex

Flex SDK 3.0.0 does not have this problem

we need to investigate waht have changed for static code block inititalization

see http://code.google.com/p/maashaack/wiki/StaticCodeBlock

Original comment by zwetan on 4 Mar 2009 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 22 Jul 2011 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 22 Sep 2011 at 6:35