Bugzilla – Bug 317942
Flow analysis bug
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by marek.safar@seznam.cz 2005-05-10 03:55:49 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. class C { class Token { public Token next; } Token token; public void Jj_consume_token() { Token oldToken; if ((oldToken = token).next != null) return; token = oldToken; return; } public static void Main () {} } 2. compile Actual Results: test.cs(14) error CS0165: Use of unassigned local variable `oldToken' Expected Results: No error How often does this happen? Additional Information: ---- Additional Comments From bmaurer@users.sf.net 2005-05-19 21:19:33 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO57747 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"