aboutsummaryrefslogtreecommitdiff
path: root/frontend/syntax.dcl
diff options
context:
space:
mode:
authorjohnvg2005-01-31 11:25:20 +0000
committerjohnvg2005-01-31 11:25:20 +0000
commit98448eb130b0cb3c8b3c136dad9f16751de8d2c9 (patch)
treea02e3a343d23badaacfbc00913e6c1736a4d6672 /frontend/syntax.dcl
parentprint "(let ...) or #" for Let and "update of record" for RecordUpdate (diff)
bug for for update of records with existential variable(s): compare indices
of the constructor, instead of a type index with a constructor index, create VITI_PatternType only for records git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1512 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r--frontend/syntax.dcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl
index 1b243bf..479374e 100644
--- a/frontend/syntax.dcl
+++ b/frontend/syntax.dcl
@@ -608,7 +608,7 @@ from convertDynamics import :: TypeCodeVariableInfo, :: DynamicValueAliasInfo
:: VI_TypeInfo = VITI_Empty
| VITI_Coercion CoercionPosition
- | VITI_PatternType [AType] AType VI_TypeInfo
+ | VITI_PatternType [AType] /*module*/!Index /*constructor*/!Index VI_TypeInfo
//:: VarInfo = VI_Empty | VI_Type !AType !(Optional CoercionPosition) | VI_FAType ![ATypeVar] !AType !(Optional CoercionPosition) |
:: VarInfo = VI_Empty | VI_Type !AType !VI_TypeInfo | VI_FAType ![ATypeVar] !AType !VI_TypeInfo |