Skip to content

Commit 7bc6843

Browse files
committed
add Alias constructor to NameKind
This is so that someone smarter/more familiar with the code-base than I can change the current aliasing behavior so it doesn't have to create actual `var`s.
1 parent b938f71 commit 7bc6843

File tree

1 file changed

+1
-1
lines changed
  • src/Language/PureScript/TypeChecker

1 file changed

+1
-1
lines changed

src/Language/PureScript/TypeChecker/Monad.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Control.Arrow ((***), first, second)
2828

2929
import qualified Data.Map as M
3030

31-
data NameKind = Value | Extern deriving Show
31+
data NameKind = Value | Extern | Alias ModulePath Ident deriving Show
3232

3333
data TypeDeclarationKind = Data | ExternData | TypeSynonym deriving Show
3434

0 commit comments

Comments
 (0)