Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Qqwy committed May 28, 2022
1 parent c458697 commit 8ab6940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Details:

### Changelog
- 0.11.0 -
Additions:
- Additions:
- Support for fancier map syntaxes:
- `%{required(key_type) => value_type}` Maps with a single kind of required key-value type.
- `%{optional(key_type) => value_type}` Maps with a single kind of optional key-value type.
Expand Down
3 changes: 3 additions & 0 deletions lib/type_check/builtin.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,9 @@ defmodule TypeCheck.Builtin do
Also, the current property-generator will generate arbitrary PIDs, most of which
will not point to alive processes.
"""
if_recompiling?() do
@spec! pid() :: TypeCheck.Builtin.PID.t()
end
def pid() do
build_struct(TypeCheck.Builtin.PID)
end
Expand Down

0 comments on commit 8ab6940

Please sign in to comment.