Skip to content

Commit 5044c5a

Browse files
committed
Fix typespec
1 parent ba85884 commit 5044c5a

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ $(CONCUERROR):
5353
$(MAKE) -C _build/Concuerror/
5454

5555
hex-publish: clean
56-
rebar3 hex publish
56+
rebar3 as dev hex publish

rebar.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
, system_monitor
4747
]}
4848
]}
49-
, {dev, [{deps, [{system_monitor, "1.0.1"}, {redbug, "2.0.2"}]}]}
49+
, {dev,
50+
[ {deps, [{system_monitor, "1.0.1"}, {redbug, "2.0.2"}]}
51+
, {plugins, [rebar3_hex]}
52+
]}
5053
, {concuerror,
5154
[{erl_opts, [ {d, 'CONCUERROR'}
5255
, {d, 'HUT_IOFORMAT'}

src/framework/kflow_gen_mfd.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@
7272

7373
-callback init(_Config) -> _State.
7474

75-
-callback mfd(kflow:offset(), _DataIn, _State) ->
76-
{true, _DataOut} | false.
75+
-callback mfd(kflow:offset(), _DataIn, _State) -> return_type().
7776

7877
-callback terminate(_State) -> _.
7978

0 commit comments

Comments
 (0)