-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unification of the contents of TryScanToken and ScanTokenFullWidth. #1381
Unification of the contents of TryScanToken and ScanTokenFullWidth. #1381
Conversation
AdamSpeight2008
commented
Mar 19, 2015
- Small Refactoring with the unified method.
- Use a common lengthWithMeyBeEquals
- Change section to use IF( , ) instead.
Also note that on my local machine I get the following single failure.
|
End If | ||
|
||
Dim ch As Char = PeekChar() | ||
Private Function _Unified_(precedingTrivia As SyntaxList(Of VisualBasicSyntaxNode), ch As Char, fullWidth As Boolean) As SyntaxToken |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you going to rename this method eventually?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am open to suggestions for the name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VladimirReshetnikov
Current thoughts are on the lines of
ScanToken_Common
ScamTokenIternals
a6c3877
to
a28bdcd
Compare
@gafter |
@AdamSpeight2008 the following set of commands will take the contents of
That being said here is the code to move the new code into this PR. First step is to switch the branch to
Next we want this branch to have the same contents as
Now we want to push this up to GitHub so that this PR will update.
The use of |
@jaredpar
|
@jaredpar I think I fix it now. |
@jaredpar I been in contact with GitHub on how to fix this issue.
Please consider #1463 as the fix. I'll not touch that branch at all |