File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Cabal-syntax/src/Distribution/Types/BuildInfo Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ instance HasBuildInfo BuildInfo where
274274 cSources f s = fmap (\ x -> s{T. cSources = x}) (f (T. cSources s))
275275 {-# INLINE cSources #-}
276276
277- cxxSources f s = fmap (\ x -> s{T. cSources = x}) (f (T. cxxSources s))
277+ cxxSources f s = fmap (\ x -> s{T. cxxSources = x}) (f (T. cxxSources s))
278278 {-# INLINE cxxSources #-}
279279
280280 jsSources f s = fmap (\ x -> s{T. jsSources = x}) (f (T. jsSources s))
Original file line number Diff line number Diff line change 1+ ---
2+ synopsis: Fix mistake in BuildInfo/Lens.hs mixing up `c-sources` and `cxx-sources`
3+ packages: [Cabal-syntax]
4+ prs: 10609
5+ ---
6+
7+ Fix a typo that would cause cxx-source and c-sources get mixed up.
You can’t perform that action at this time.
0 commit comments