Resolves #18735. Right now the syntax is <type1 | type2 | ...>, but I plan on removing the angle brackets. To preserve backwards compatibility, union types cannot be inferred, they must be explicitly declared.
https://github.com/vim/vim/pull/20223
(6 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@yegappan commented on this pull request.
In src/structs.h:
> @@ -1637,6 +1640,8 @@ typedef struct {
#define TTFLAG_SUPER 0x40 // object from "super".
#define TTFLAG_GENERIC 0x80 // generic type
#define TTFLAG_TUPLE_OK 0x100 // tuple can be used for a list
+#define TTFLAG_UNION 0x200 // First type in union type
+#define TTFLAG_UNION 0x200 // First type in union type
This is a duplicate definition.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()