Skip to content

WIP Don't compute ranges and stuff when we don't need that#1927

Merged
dsyme merged 1 commit intodotnet:masterfrom
forki:tcrefCheck
Dec 3, 2016
Merged

WIP Don't compute ranges and stuff when we don't need that#1927
dsyme merged 1 commit intodotnet:masterfrom
forki:tcrefCheck

Conversation

@forki
Copy link
Contributor

@forki forki commented Dec 3, 2016

No description provided.

@forki forki changed the title Don't compute ranges and stuff when we don't need that WIP Don't compute ranges and stuff when we don't need that Dec 3, 2016
match lid with
| _tn:: rest when not (isNil rest) ->
let tcrefs = LookupTypeNameInEntityMaybeHaveArity (ncenv.amap, id.idRange, ad, id.idText, TypeNameResolutionStaticArgsInfo.Indefinite, modref)
if List.isEmpty tcrefs then NoResultsOrUsefulErrors else
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer tcrefs.IsEmpty or isNil tcrefs in the compiler, but it's not big deal

@dsyme dsyme merged commit f1882ac into dotnet:master Dec 3, 2016
@forki forki deleted the tcrefCheck branch December 4, 2016 10:10
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