Permalink
Browse files

Adds typespecs to the #error_report{} record

  • Loading branch information...
1 parent 40b4c9f commit 8f112ff60ad3f8bc17aede2c686991dd11d708dc Yurii Rashkovskii committed with Feb 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 apps/htoad/include/stdlib.hrl
@@ -38,7 +38,7 @@
-record(error_report,
{
- rule,
- fact,
- reason
+ rule :: {module(), atom()},
+ fact :: tuple(),
+ reason :: term()
}).

0 comments on commit 8f112ff

Please sign in to comment.