Skip to content
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

Show warning when Record is accessed without type but RequireQualifiedAccess was set - relates to #95 #137

Closed
wants to merge 1 commit into from

Conversation

forki
Copy link
Contributor

@forki forki commented Jan 27, 2015

As discussed with @dsyme in #95 this solves the second case of #95 (which is unfortunately already closed).

image

@dsyme
Copy link
Contributor

dsyme commented Jan 27, 2015

Excellent fix, great work. I've reviewed the code and test and they LGTM.

let _ = { Record1.Field1 = 42 } // correct
let _ = { ModuleWithRecord.Field1 = 42 } // compiles, but should not
let _ = { ModuleWithRecord.Record1.Field1 = 42 } // correct
Copy link
Contributor

Choose a reason for hiding this comment

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

add newline at end of file, is good for textfiles and harmless for test behaviour

@latkin latkin closed this in 58669ae Jan 28, 2015
@latkin latkin added the fixed label Jan 28, 2015
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.

4 participants