Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit fed8e59

Browse files
clarification about dynamic(T) type
Summary: - a clarifying comment ___ Differential Revision: D106177580 fbshipit-source-id: 219e529b2f57c8b8dc71c8163fe85275f2ecf0af
1 parent 371e3ae commit fed8e59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eqwalizer_support/src/eqwalizer.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
%% dynamic(T) is a subtype of everything, but a supertype of T
2828
%% (and its subtypes) only.
2929
%% It behaves as "T in, dynamic() out".
30+
%% If eqwalizer had intersection types, dynamic(T) can be expressed as T & dynamic().
3031
%% For other tooling, dynamic(T) is defined as an alias to T.
3132
-type dynamic(T) :: T.
3233

0 commit comments

Comments
 (0)