Skip to content

Commit

Permalink
Fix a bug in implementation of GObject.connect
Browse files Browse the repository at this point in the history
Used the wrong type variable in the constraint
  • Loading branch information
postsolar committed Feb 25, 2024
1 parent 4e88d29 commit e34e8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GObject.purs
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ class
-- | connect @"changed" myObject \_obj info → log info
-- | ```
connect
@sig @obj cb pcb rt os ovs
@sig @obj cb pcb rt rt' os ovs
. R.Cons sig cb rt os
-- This constraint aids the compiler find the type of
-- the processed callback to project the variant's value.
-- It shouldn't be removed.
R.Cons sig pcb rt ovs
R.Cons sig pcb rt' ovs
GObjectSignal obj os ovs
IsSymbol sig
obj
Expand Down

0 comments on commit e34e8ba

Please sign in to comment.