diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# optics-th-0.3.0.2 (2020-08-20)
+* Fix tests on GHC 8.10.2
+
 # optics-th-0.3.0.1 (2020-08-05)
 * Fix handling of nullary type families
 * Fix `declareFieldLabels` and `declareLenses` with DuplicateRecordFields
diff --git a/optics-th.cabal b/optics-th.cabal
--- a/optics-th.cabal
+++ b/optics-th.cabal
@@ -1,12 +1,12 @@
 name:          optics-th
-version:       0.3.0.1
+version:       0.3.0.2
 license:       BSD3
 license-file:  LICENSE
 build-type:    Simple
 maintainer:    optics@well-typed.com
 author:        Andrzej Rybczak
 cabal-version: 1.24
-tested-with:   ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1, GHCJS ==8.4
+tested-with:   ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2, GHCJS ==8.4
 synopsis:      Optics construction using TemplateHaskell
 category:      Data, Optics, Lenses
 description:
diff --git a/tests/Optics/TH/Tests/DuplicateRecordFields.hs b/tests/Optics/TH/Tests/DuplicateRecordFields.hs
--- a/tests/Optics/TH/Tests/DuplicateRecordFields.hs
+++ b/tests/Optics/TH/Tests/DuplicateRecordFields.hs
@@ -32,15 +32,17 @@
 (>::) :: (:::) -> Int -> Int
 (>::) = view (>:)
 
+-- NB we cannot use the field name 'foo' here, because there is already a
+-- definition of 'foo' as a lens in scope (#338).
 $(declareFieldLabels
   [d|data family F x
-     data instance F Int = MkF { foo :: Int }|])
+     data instance F Int = MkF { woo :: Int }|])
 $(declareLenses
   [d|data family G x
      data instance G Int = MkG { bar :: Int }|])
 
 foo''' :: F Int -> Int
-foo''' = view #foo
+foo''' = view #woo
 
 bar' :: G Int -> Int
 bar' = view bar
