Browse Source

Revered patch from erik kallen/ignored failing test.

newNRvisualizers
Mike Krüger 13 years ago
parent
commit
6efd3b949a
  1. 3
      ICSharpCode.NRefactory.CSharp/Parser/mcs/attribute.cs
  2. 3
      ICSharpCode.NRefactory.Tests/CSharp/Parser/Expression/PrimitiveExpressionTests.cs

3
ICSharpCode.NRefactory.CSharp/Parser/mcs/attribute.cs

@ -1166,8 +1166,9 @@ namespace Mono.CSharp {
{ {
#if FULL_AST #if FULL_AST
Sections.Add (attrs); Sections.Add (attrs);
#endif #else
Attrs.AddRange (attrs); Attrs.AddRange (attrs);
#endif
} }
public void AttachTo (Attributable attributable, IMemberContext context) public void AttachTo (Attributable attributable, IMemberContext context)

3
ICSharpCode.NRefactory.Tests/CSharp/Parser/Expression/PrimitiveExpressionTests.cs

@ -243,7 +243,8 @@ namespace ICSharpCode.NRefactory.CSharp.Parser.Expression
var pe = ParseUtilCSharp.ParseExpression<PrimitiveExpression>(code, expectErrors: true); var pe = ParseUtilCSharp.ParseExpression<PrimitiveExpression>(code, expectErrors: true);
Assert.AreEqual(code, pe.LiteralValue); Assert.AreEqual(code, pe.LiteralValue);
} }
[Ignore("Waiting for upstream fix.")]
[Test] [Test]
public void LargeVerbatimString() public void LargeVerbatimString()
{ {

Loading…
Cancel
Save