Permalink
Browse files

Cleanup MemberAccessException message generated by attempts to get Er…

…ror.Value.
  • Loading branch information...
1 parent 071cc3a commit ebc5f87553faed76f24ff7ee45f1ed233a9fdbf5 @plioi committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Parsley/Error.cs
@@ -21,7 +21,7 @@ public T Value
get
{
var position = UnparsedTokens.Position;
- throw new MemberAccessException(String.Format("({0}, {1}): {2}", position.Line, position.Column, ErrorMessages));
+ throw new MemberAccessException(String.Format("{0}: {1}", position, ErrorMessages));
}
}

0 comments on commit ebc5f87

Please sign in to comment.