aboutsummaryrefslogtreecommitdiff
path: root/frontend/overloading.dcl
diff options
context:
space:
mode:
authormartijnv2001-03-01 11:10:10 +0000
committermartijnv2001-03-01 11:10:10 +0000
commitb5bcaa57cb9fc248f48e2a657f58134bc3369580 (patch)
treead77cbee91e13da21dfefc8b472dc81cfa59940f /frontend/overloading.dcl
parenttemporary hack: redirect basic type Dynamic to DynamicTemp from StdDynamic (diff)
- type files worden aangemaakt (buggy)
- type namen worden gesuffixed met hun definierde module naam git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@307 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/overloading.dcl')
-rw-r--r--frontend/overloading.dcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/overloading.dcl b/frontend/overloading.dcl
index 4719aa2..71328fd 100644
--- a/frontend/overloading.dcl
+++ b/frontend/overloading.dcl
@@ -36,13 +36,16 @@ import syntax, check, typesupport
:: LocalTypePatternVariable
:: DictionaryTypes :== [(Index, [ExprInfoPtr])]
-tryToSolveOverloading :: ![(Optional [TypeContext], [ExprInfoPtr], IdentPos, Index)] !Int !{# CommonDefs } !ClassInstanceInfo !*Coercions !*OverloadingState
+tryToSolveOverloading :: ![(Optional [TypeContext], [ExprInfoPtr], IdentPos, Index)] !Int !{# CommonDefs } !ClassInstanceInfo !*Coercions !*OverloadingState !{# DclModule}
-> (![TypeContext], !*Coercions, ![LocalTypePatternVariable], DictionaryTypes, !*OverloadingState)
:: TypeCodeInfo =
{ tci_next_index :: !Index
, tci_instances :: ![GlobalTCInstance]
, tci_type_var_heap :: !.TypeVarHeap
+// MV ...
+ , tci_dcl_modules :: !{# DclModule}
+// ... MV
}
removeOverloadedFunctions :: ![Index] ![LocalTypePatternVariable] !Int !*{#FunDef} !*{! FunctionType} !*ExpressionHeap