Skip to content

Instantly share code, notes, and snippets.

@deltaluca
Created March 28, 2012 11:48
Show Gist options
  • Save deltaluca/2225595 to your computer and use it in GitHub Desktop.
Save deltaluca/2225595 to your computer and use it in GitHub Desktop.
Bug occuring in both flash+neko
import com.mindrocks.text.Parser;
using com.mindrocks.text.Parser;
import com.mindrocks.functional.Functional;
using com.mindrocks.functional.Functional;
using com.mindrocks.macros.LazyMacro;
import com.mindrocks.text.ParserMonad;
using com.mindrocks.text.ParserMonad;
using Lambda;
class BugParser {
// using:
// static var oneP = "1".identifier();
// is just fine.
static var oneP = ParserM.dO({ "1".identifier(); ret("1"); });
public static function main() {
trace(oneP()("1".reader()));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment