This website requires JavaScript.
Explore
Help
Sign In
msyds
/
gf-core
Watch
1
Star
0
Fork
0
You've already forked gf-core
forked from
GitHub/gf-core
Code
Pull Requests
Activity
Files
2552b859fd1de43d32e5f14411f4da1bf64d3eca
gf-core
/
src
History
aarne
2552b859fd
ad hoc overloading: a new way to deal with name resolution conflicts. Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch.
2014-02-01 13:10:36 +00:00
..
binary
/Data
Eliminate mutual dependencies between the GF compiler and the PGF library
2013-11-05 13:11:10 +00:00
compiler
ad hoc overloading: a new way to deal with name resolution conflicts. Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch.
2014-02-01 13:10:36 +00:00
example-based
Eliminate mutual dependencies between the GF compiler and the PGF library
2013-11-05 13:11:10 +00:00
runtime
fix in the bracketedLinearize in Haskell
2014-01-31 08:52:32 +00:00
server
gf-server.cabal: flag to include C run-time support in the FastCGI PGF service
2014-01-31 16:11:41 +00:00
tools
Created a new page documenting available editor modes for GF
2011-09-20 12:41:32 +00:00
ui
bugfix in the android keyboard for the choice of language
2013-12-17 17:09:53 +00:00
www
Wide coverage translation web demo improvements
2014-01-28 16:51:21 +00:00