Skip to content

Conversation

@TIHan
Copy link
Contributor

@TIHan TIHan commented Feb 8, 2019

Resolves this: #6214

Was simple, just needed to update isRefTy. Also added a better way to test code.

Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might also be good to use double backticked names, since these will render correctly in test explorer and formatted console output

Stamp = None
}

let AssertPass (source: string) =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: lower case


Assert.True(typeCheckResults.Errors.Length = 0, sprintf "Type Check errors: %A" typeCheckResults.Errors)

let AssertSingleErrorTypeCheck (source: string) (expectedErrorNumber: int) (expectedErrorRange: int * int * int * int) (expectedErrorMsg: string) =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: lower case

@KevinRansom KevinRansom merged commit 0b9f214 into dotnet:dev16.0 Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants