Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
477b1f4f
Commit
477b1f4f
authored
24 years ago
by
sven.panne@aedion.de
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-07-15 15:09:45 by panne]
Merged Marcin's patches for unboxed thingies
parent
f6d9b940
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/compiler/typecheck/TcMonoType.lhs
+4
-4
4 additions, 4 deletions
ghc/compiler/typecheck/TcMonoType.lhs
ghc/compiler/typecheck/TcTyDecls.lhs
+2
-2
2 additions, 2 deletions
ghc/compiler/typecheck/TcTyDecls.lhs
with
6 additions
and
6 deletions
ghc/compiler/typecheck/TcMonoType.lhs
+
4
−
4
View file @
477b1f4f
...
...
@@ -256,8 +256,8 @@ kcHsPred pred@(HsPClass cls tys)
%* *
%************************************************************************
tcHsType and tcHsType
Kind
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tcHs
Sig
Type and tcHs
BoxedSig
Type
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
tcHsSigType and tcHsBoxedSigType are used for type signatures written by the programmer
...
...
@@ -283,8 +283,8 @@ tcHsBoxedSigType ty
\end{code}
T
he main work horse
~~~~~~~~~~~~~~~~~~~
tcHsType, t
he main work horse
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
\begin{code}
tcHsType :: RenamedHsType -> TcM s Type
...
...
This diff is collapsed.
Click to expand it.
ghc/compiler/typecheck/TcTyDecls.lhs
+
2
−
2
View file @
477b1f4f
...
...
@@ -20,7 +20,7 @@ import RnHsSyn ( RenamedTyClDecl, RenamedConDecl, RenamedContext )
import TcHsSyn ( TcMonoBinds, idsToMonoBinds )
import BasicTypes ( RecFlag(..), NewOrData(..) )
import TcMonoType ( tcHsSigType, tcHsBoxedSigType, kcTyVarScope, tcClassContext,
import TcMonoType (
tcHsType,
tcHsSigType, tcHsBoxedSigType, kcTyVarScope, tcClassContext,
kcHsContext, kcHsSigType, mkImmutTyVars
)
import TcEnv ( tcExtendTyVarEnv, tcLookupTy, tcLookupValueByKey, TyThing(..), TyThingDetails(..) )
...
...
@@ -66,7 +66,7 @@ tcTyDecl1 :: RenamedTyClDecl -> TcM s (Name, TyThingDetails)
tcTyDecl1 (TySynonym tycon_name tyvar_names rhs src_loc)
= tcLookupTy tycon_name `thenNF_Tc` \ (ATyCon tycon) ->
tcExtendTyVarEnv (tyConTyVars tycon) $
tcHs
Sig
Type rhs `thenTc` \ rhs_ty ->
tcHsType rhs `thenTc` \ rhs_ty ->
-- If the RHS mentions tyvars that aren't in scope, we'll
-- quantify over them. With gla-exts that's right, but for H98
-- we should complain. We can now do that here without falling into
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment