1 2 3 4 5 6 7 8 9 10 11 12
-module(gh_6518). -export([f/1]). f(X) -> case fun() -> [ok || _ <- []] end of _ -> (Y = X) end andalso Y.