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

Add warning to mkSProxies #77

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Add warning to mkSProxies #77

merged 1 commit into from
Oct 7, 2021

Conversation

thomashoneyman
Copy link
Owner

What does this pull request do?

Addresses #75 by adding a warning to the doc comment and a compiler warning to the mkSProxies function. Example output:

[5/5 UserDefinedWarning] example/real-world/OptionsForm.purs:119:1

  119  prx :: F.SProxies OptionsForm
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  
  A custom warning occurred while solving type class constraints:
  
    This function is not recommended for use in production settings due to large amounts of generated code.
  
  in value declaration prx

@thomashoneyman thomashoneyman merged commit 3f6ffef into main Oct 7, 2021
@thomashoneyman thomashoneyman deleted the trh/mk-sproxies branch October 7, 2021 08:53
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.

1 participant