You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
There's 1 Debug.Assert that is customer facing (linked below) that we need to replace with a parser error to not confuse the user. There may be more than just one customer facing Debug.Assert that we should address. We will revisit each of these exceptions and implement correct behavior when we have time.
This will explode when a user has malformed TagHelpers because it's not supported yet but will be fixed once we get #104 in. For now lets create a parser error so we don't spam users with Debug.Asserts just because they didn't right accurate HTML that happen to be tag helpers.
The text was updated successfully, but these errors were encountered:
NTaylorMullen
changed the title
Tag Helpers: Replace customer facing Debug.Assert's with exceptions.
Tag Helpers: Replace customer facing Debug.Assert's with parse errors.
Oct 5, 2014
- Replaced customer facing Debug.Assert with a new error mechanism to surface errors to GenerateCode callers.
- The new mechanism is a general purpose way for ISyntaxTreeRewriters to add errors to the parsing phase.
#174
- Replaced customer facing Debug.Assert with a new error mechanism to surface errors to GenerateCode callers.
- The new mechanism is a general purpose way for ISyntaxTreeRewriters to add errors to the parsing phase.
#174
- Replaced customer facing Debug.Assert with a new error mechanism to surface errors to GenerateCode callers.
- The new mechanism is a general purpose way for ISyntaxTreeRewriters to add errors to the parsing phase.
#174
- Replaced customer facing Debug.Assert with a new error mechanism to surface errors to GenerateCode callers.
- The new mechanism is a general purpose way for ISyntaxTreeRewriters to add errors to the parsing phase.
#174
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There's 1
Debug.Assert
that is customer facing (linked below) that we need to replace with a parser error to not confuse the user. There may be more than just one customer facingDebug.Assert
that we should address. We will revisit each of these exceptions and implement correct behavior when we have time.The
Debug.Assert
that I'm referring to is: https://github.com/aspnet/Razor/blob/TagHelpersFeature/src/Microsoft.AspNet.Razor/Parser/TagHelpers/TagHelperParseTreeRewriter.cs#L32This will explode when a user has malformed
TagHelper
s because it's not supported yet but will be fixed once we get #104 in. For now lets create a parser error so we don't spam users withDebug.Assert
s just because they didn't right accurate HTML that happen to be tag helpers.The text was updated successfully, but these errors were encountered: