Skip to content

Instantly share code, notes, and snippets.

@useronym
Created April 16, 2019 13:11
Show Gist options
  • Save useronym/6d44ad512738ccbf522f727547b6d435 to your computer and use it in GitHub Desktop.
Save useronym/6d44ad512738ccbf522f727547b6d435 to your computer and use it in GitHub Desktop.
TH parallel compilation error sample
/home/osense/eai/confy/server/src/Confy/Controllers/Messages.hs:564:17: error:
• Found hole:
_controller_entry_conferences_fast_list :: Controller OutType
Or perhaps ‘_controller_entry_conferences_fast_list’ is mis-spelled, or not in scope
• In the expression: _controller_entry_conferences_fast_list
In the expression:
("entry.conferences-fast-list",
_controller_entry_conferences_fast_list)
In the expression:
([("invite.send-message", _controller_invite_send_message),
("send-decision-and-reviews",
_controller_send_decision_and_reviews),
("decision-emails-lists", _controller_decision_emails_lists),
("decision-emails-recipients",
_controller_decision_emails_recipients),
("preview-decision-email", _controller_preview_decision_email),
....])
[133 of 139] Compiling Confy.Proceedings.ACM ( src/Confy/Proceedings/ACM.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/build/confy/confy-tmp/Confy/Proceedings/ACM.o )
• Relevant bindings include
controllers :: [ControllerRoute]
(bound at src/Confy/Controllers/Messages.hs:564:1)
Valid substitutions include
_controller_decision_emails_lists :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:513:1)
_controller_decision_emails_recipients :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:504:1)
_controller_invite_get_defer_message :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:446:1)
_controller_invite_get_message :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:415:1)
_controller_invite_send_message :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:536:1)
_controller_preview_decision_email :: RequestHandler
(defined at src/Confy/Controllers/Messages.hs:495:1)
(Some substitutions suppressed; use -fmax-valid-substitutions=N or -fno-max-valid-substitutions)
|
564 | controllers = $(getControllers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment