projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edef0d7
)
[659528] Fixed cloning of switch sections
author
Marek Safar
<marek.safar@gmail.com>
Wed, 15 Dec 2010 15:48:14 +0000
(15:48 +0000)
committer
Marek Safar
<marek.safar@gmail.com>
Wed, 15 Dec 2010 17:25:41 +0000
(17:25 +0000)
mcs/mcs/statement.cs
patch
|
blob
|
history
diff --git
a/mcs/mcs/statement.cs
b/mcs/mcs/statement.cs
index 646ad2d4c64c405c8991d4472c1639b2cd57ef49..e09dde7383132f86ca849ffdd810e3b707e8daeb 100644
(file)
--- a/
mcs/mcs/statement.cs
+++ b/
mcs/mcs/statement.cs
@@
-3108,7
+3108,7
@@
namespace Mono.CSharp {
{
var cloned_labels = new List<SwitchLabel> ();
- foreach (SwitchLabel sl in
cloned_l
abels)
+ foreach (SwitchLabel sl in
L
abels)
cloned_labels.Add (sl.Clone (clonectx));
return new SwitchSection (cloned_labels, clonectx.LookupBlock (Block));