Am 09.03.2015 um 14:36 schrieb bla...@blaise.ru:
FPC trunk r30150, compiled with EXTDEBUG, emits a debug warning for
the following program:
--8--
type T = interface
procedure Bar;
end;
function Foo: T;
begin
result := nil
end;
begin
Foo().Bar()
// ^--
On 09 Mar 2015, at 14:36, bla...@blaise.ru wrote:
On 15.01.2012 18:26, Blaise Thorn wrote:
I have implemented the support for the Delphi-compatible non-
generic closures.
I am ready to commit the improved (and fully compilable) version.
Per Jonas Maebe's suggestion, I am going to create a
On 10.03.2015 15:47, Jonas Maebe wrote:
Do you already have an svn account?
The one I had back in 2012.
My old branch is here:
http://svn.freepascal.org/svn/fpc/branches/blaise/closures
It indicates a problem in the compiler.
Thanks.
Shall I file it in the bug tracker, then?
As the
On 10 Mar 2015, at 14:29, bla...@blaise.ru wrote:
On 10.03.2015 15:47, Jonas Maebe wrote:
Do you already have an svn account?
The one I had back in 2012.
My old branch is here:
http://svn.freepascal.org/svn/fpc/branches/blaise/closures
You should still have access to everything under
On 10.03.2015 15:09, Hans-Peter Diettrich wrote:
I'd assume that the warning refers to result := nil in Foo().
Wrong. And the comment clearly indicates to which line it refers.
This happens because of the call chaining.
--
βþ
___
fpc-devel maillist
On 15.01.2012 18:26, Blaise Thorn wrote:
I have implemented the support for the Delphi-compatible non-generic closures.
I am ready to commit the improved (and fully compilable) version.
Per Jonas Maebe's suggestion, I am going to create a new branch (also, last time I tried
to commit into