You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dataDataCaptaliseBoolBool=MkDataCaptaliseBoolfoo: DataCaptaliseBool Bool
foo =MkDataCaptaliseBool
failing "Mismatch between: Type -> Type and Type"dataDataCaptaliseListList=MkDataCaptaliseList
failing "Undefined name Name.Space.type"dataDataNS Name.Space.type =MkDataNS
failing "Mismatch between: ?ty -> ?ty -> ?ty and Type"dataDataOp (+) =MkDataOp
But in binders, capitalised names are allowed and namespaces and operators are forbidden:
dataDataCaptalise: (List : Type) ->TypewhereMkDataCaptalise: DataCaptalise a
Record fields
record XwhereName.Space.field:Typefoo: X ->Type
foo x = x.field
Main>:t field
Main.X.field: X ->Type
The text was updated successfully, but these errors were encountered:
spcfox
changed the title
Investigation of suspicious cases of name parsing and processing
Investigate suspicious cases of name parsing and processing
Jan 26, 2025
Only simple
UserName
are parsed in binders, but more complex ones are allowed in some similar places. This leads to some strange behaviour. Examples:Interface parameters
Data paremeters
But in binders, capitalised names are allowed and namespaces and operators are forbidden:
Record fields
The text was updated successfully, but these errors were encountered: