Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge cases around promotion ticks #136

Closed
sheaf opened this issue Apr 30, 2020 · 1 comment
Closed

Edge cases around promotion ticks #136

sheaf opened this issue Apr 30, 2020 · 1 comment
Labels

Comments

@sheaf
Copy link
Collaborator

sheaf commented Apr 30, 2020

{-# LANGUAGE DataKinds, TypeOperators #-}

module Promotion where

data AB a b = CD a b

data (:&) a b = (:<) a b

f :: proxy ( 'CD a b ) -> proxy ( a '`CD` b )
f = id

g :: proxy ( '(:<) a b ) -> proxy ( a ':< b )
g = id

Among the four ticked examples, at the moment only the first one renders reasonably.

sheaf added a commit to sheaf/language-haskell that referenced this issue Apr 30, 2020
sheaf added a commit to sheaf/language-haskell that referenced this issue Apr 30, 2020
@sheaf sheaf closed this as completed in b73e41a Apr 30, 2020
@sheaf
Copy link
Collaborator Author

sheaf commented Apr 30, 2020

Here's how this looks on my end after the fix in b73e41a:

promotion_highlighting

@sheaf sheaf added the bug label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant