% Copyright (c) Facebook, Inc. and its affiliates.
%
% This source code is licensed under the MIT license found in the
% LICENSE file in the root directory of this source tree.

-module(otp_gen_server).

-export([
    fp_test_cast_Ok/0,
    test_cast_Bad/0
]).

% T119301532 -- should become non-FP with an OTP update
fp_test_cast_Ok() ->
    ok = gen_server:cast(x, y).

test_cast_Bad() ->
    i_will_not_match = gen_server:cast(x, y).

% Copyright (c) Facebook, Inc. and its affiliates.
%
% This source code is licensed under the MIT license found in the
% LICENSE file in the root directory of this source tree.

-module(otp_gen_server).

-export([
    fp_test_cast_Ok/0,
    test_cast_Bad/0
]).

% FP: T115354480
fp_test_cast_Ok() ->
    ok = gen_server:cast(x, y).

test_cast_Bad() ->
    i_will_not_match = gen_server:cast(x, y).

Fix comment about reason of FP
[erl-frontend] Fix comment about reason of FP

Summary: This FP is still a FP but for a different reason: previously it was a missing OTP spec, but now it's related to Pulse limitations.

Reviewed By: jvillard

Differential Revision: D38312267

fbshipit-source-id: 98c6a95d40c8ca6f9a6c24c0a759d6570ef86be9
