well this is weird, I have done some transforming of code that I thought
was "transparent" but now:

[lookup_name_with_sig] Can't find apl of (int -> int) * int
In build/release-optimized/tut/embedding/bind-1.11-0.flx: line 7, cols 8 to 10
6: 
7: print$ apl$ the fff,22; endl;
          ***
8:

The problem seems to be here:

cfun fff(x:int)=>x + 1;
fun apl(g:int-->int,x:int)=> g x;
print$ apl$ the fff,22; endl;

fff is a cfun, it should have type int-->int not int->int.

Same bug here:

 + build/release-optimized/bin/flx 
--output_dir=build/release-optimized/test/sqlite 
-Ibuild/release-optimized/test/sqlite --test=build/release-optimized -c 
--test=build/release-optimized 
build/release-optimized/test/sqlite/sqlite-1-0.flx
CLIENT ERROR
[bind_exe: init] LHS[cb<10083>]:
address * int * ptr[ptr[char]] * ptr[ptr[char]] --> int
 of initialisation must have same type as RHS:
address * int * ptr[ptr[char]] * ptr[ptr[char]] -> int
unfolded LHS = address * int * ptr[ptr[char]] * ptr[ptr[char]] --> int
In build/release-optimized/test/sqlite/sqlite-1-0.flx: line 36, cols 5 to 46
35:     println p;
36:     val cb : sqlite3_exec_callback_t = the eh;
        ******************************************
37:     res := sqlite3_exec(db,p,cb,usr,&errm);

What's now not shared .. the ticache.


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to