Compiling the following code: ----------------------------------- -module(aaa). -export([a/0]). -record(hello, {a,b}). a() -> (#hello{})#hello.a. ------------------------------------ Gives me: erlc aaa.erl ./aaa.erl:7: Warning: this clause cannot match because a previous clause at line 7 always matches Cheers, Tobbe