-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equality operator not working as expected #66
Comments
I should also note that the following two do not trigger the rule:
or
Only when they appear together does the rule get triggered. |
doug-martin
added a commit
to doug-martin/nools
that referenced
this issue
Sep 4, 2013
* Added ability to `import` other nools files to create composible rules files [noolsjs#58](noolsjs#58) * When using `global` to require other files you can now require other files relative to the nools file * Added uglify-js as a dependency instead of devDependency noolsjs#71 * Fixed issue noolsjs#61 where transpile would not properly escape `"` character. * Fixed issue noolsjs#66 and noolsjs#67 where regular expression matching was too greedy. * Fixed issue noolsjs#62 where constraints with a `"` character would produce invalid javascript when `transpiling`. * Fixed issue noolsjs#69 where rules names with a `'` character in a rule would produce invalid javascript when `transpiling`.
Merged
This should be fixed in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an object defined thus:
I'm asserting a fact like this:
Then looking for it in a when clause like this:
The == comparison fails to trigger the rule. The following does trigger the rule:
I expected the == to work.
The text was updated successfully, but these errors were encountered: