aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellhoverhandler.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-12-20 09:28:29 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-05 15:08:20 +0000
commitf73e91128adeaca803e53b0f7af79075bf6ee4b1 (patch)
treecb65f02a369cd1a344d6da686179c059645b6ba9 /plugins/haskell/haskellhoverhandler.h
parent1d8b12047ae4a175303b827e6d682189edb2391c (diff)
Propagate ghc-mod errors up
Mostly an enabler for providing more useful information to the user in follow-up patches. Change-Id: Ia457f0f92175340fe93754df6215693d3a93dd3a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'plugins/haskell/haskellhoverhandler.h')
-rw-r--r--plugins/haskell/haskellhoverhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/haskell/haskellhoverhandler.h b/plugins/haskell/haskellhoverhandler.h
index 6df2da9..8cad5c5 100644
--- a/plugins/haskell/haskellhoverhandler.h
+++ b/plugins/haskell/haskellhoverhandler.h
@@ -47,8 +47,8 @@ private:
int m_col = -1;
QString m_name;
- QFuture<Utils::optional<SymbolInfo>> m_symbolFuture;
- QFuture<Utils::optional<QString>> m_typeFuture;
+ QFuture<SymbolInfoOrError> m_symbolFuture;
+ QFuture<QStringOrError> m_typeFuture;
};
} // namespace Internal