Skip to content

Explicit coerce to Maybe - #1

Open
takeoutweight wants to merge 1 commit into
deltaluca:masterfrom
takeoutweight:patch-1
Open

Explicit coerce to Maybe#1
takeoutweight wants to merge 1 commit into
deltaluca:masterfrom
takeoutweight:patch-1

Conversation

@takeoutweight

Copy link
Copy Markdown

Disclaimer, I'm extremely new to Haxe!

It seems "find" can't coerce its return value to a Maybe. Without this change I get this error:

/usr/lib/haxe/lib/goodies/0,2,1/goodies/Func.hx:282: characters 15-18 : find.S should be goodies.Maybe< find.S >

I'm using haxe 3.0.0 on a mac, compiling to flash.

It seems "find" can't coerce its return value to a Maybe. Without this change I get this error:

/usr/lib/haxe/lib/goodies/0,2,1/goodies/Func.hx:282: characters 15-18 : find.S should be goodies.Maybe<find.S>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants