ngs icon indicating copy to clipboard operation
ngs copied to clipboard

Allow parameter patterns, generalization of parameter types

Open ilyash-b opened this issue 3 years ago • 0 comments

Related: #78

Now:

		F on_event(chc:ChannelHandlerContext, ev:ChannelEvent) {
			guard ev == ChannelEvent::active
			log("active")
		}

Should be:

		F on_event(chc:ChannelHandlerContext, ev:ChannelEvent::active) {
			log("active")
		}

Note that ChannelEvent::active is an instance, not a type

ilyash-b avatar Jan 25 '22 09:01 ilyash-b