blob: eace7a4332f98f0e6a140f826e0a5348236cc0ae (
plain) (
tree)
|
|
%%%-------------------------------------------------------------------
%%% File : fun_ref_record.erl
%%% Author : Tobias Lindahl <[email protected]>
%%% Description : Exposes a bug when referring to a fun in a record.
%%%
%%% Created : 25 Sep 2007 by Tobias Lindahl <[email protected]>
%%%-------------------------------------------------------------------
-module(fun_ref_record).
-export([t1/0, t2/0]).
-record(foo, {bar}).
t1() ->
#foo{bar=fun t2/0}.
t2() -> ok.
|