Skip to content

Commit 5e383f5

Browse files
committed
Internal: do not consider an applied abstract module as a non-functor abstract module
fix #455
1 parent 13296e5 commit 5e383f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ecPath.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ let mget_ident mp =
264264
| _ -> assert false
265265

266266
let mget_ident_opt mp =
267-
match mp.m_top with
268-
| `Local id -> Some id
267+
match mp.m_top, mp.m_args with
268+
| `Local id, [] -> Some id
269269
| _ -> None
270270

271271
let rec m_fv fv mp =

0 commit comments

Comments
 (0)