Verified Commit 0ac186d6 authored by Camil Staps's avatar Camil Staps
Browse files

Prioritise type documentation over derived type for macros

parent 3a3f6044
Subproject commit eff41df0ccb7b171a8c62d95406faa008b34d443
Subproject commit a8a45f70cc7d4ca37ec10abf02ba4396eddea164
......@@ -291,7 +291,7 @@ where
trace_type_warning id
{ zero
& fe_kind=Macro
, fe_type=pdType pd <|> (getTypeDoc =<< doc)
, fe_type=(getTypeDoc =<< doc) <|> pdType pd
, fe_representation=Just $ priostring id pd +++ cpp pd
, fe_priority=findPrio id >>= 'T'.toMaybePriority
, fe_documentation=doc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment