Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
curry
curry-frontend
Commits
6b39648d
Commit
6b39648d
authored
Nov 02, 2018
by
Kai-Oliver Prott
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into SpanInfo and edit changelog
parents
600daef8
2b2d190e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
CHANGELOG.md
CHANGELOG.md
+3
-0
src/Generators/GenAbstractCurry.hs
src/Generators/GenAbstractCurry.hs
+3
-0
No files found.
CHANGELOG.md
View file @
6b39648d
...
...
@@ -4,9 +4,12 @@ Change log for curry-frontend
Version 1.0.2 (under development)
=============
*
Added 'short-ast' and 'ast' as new compilation targets
*
Fixed bug with wrong type of free variables in the intermediate language.
*
Fixed bug with generated default implementations of nullary class methods.
*
Fixed bug in desugaring of record patterns.
*
Fixed bug that external data declarations weren't considered when
AbstractCurry was generated
Version 1.0.1
=============
...
...
src/Generators/GenAbstractCurry.hs
View file @
6b39648d
...
...
@@ -152,6 +152,9 @@ trTypeDecl (NewtypeDecl _ t vs nc clss) =
<$>
trGlobalIdent
t
<*>
getTypeVisibility
t
<*>
mapM
genTVarIndex
vs
<*>
trNewConsDecl
nc
<*>
mapM
trQual
clss
trTypeDecl
(
ExternalDataDecl
_
t
vs
)
=
(
\
t'
v
vs'
->
[
CType
t'
v
vs'
[]
[]
])
<$>
trGlobalIdent
t
<*>
getTypeVisibility
t
<*>
mapM
genTVarIndex
vs
trTypeDecl
_
=
return
[]
trConsDecl
::
ConstrDecl
->
GAC
CConsDecl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment