Skip to content
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

Built-in "=" accepts dynamic text, but produce wrong result #34

Closed
zk-t opened this issue Mar 12, 2020 · 2 comments
Closed

Built-in "=" accepts dynamic text, but produce wrong result #34

zk-t opened this issue Mar 12, 2020 · 2 comments

Comments

@zk-t
Copy link

zk-t commented Mar 12, 2020

# test.mpl

() 0 () [
  dynamize: [a:; @a storageAddress @a addressToReference];
  determineResult: [FALSE = [0] [101] if];

  "a" "ab" dynamize = determineResult
] "main" exportFunction
> mplc -version && mplc test.mpl && clang mpl.ll && a
MPL compiler version 200302 debug

The Exit Code is '101'

But the exit code must be 0.

See #31.

@zk-t zk-t changed the title Built in "=" accepts dynamic text, but produce wrong result Built-in "=" accepts dynamic text, but produce wrong result Mar 12, 2020
@MatwayBurkow
Copy link
Member

Not reproducible in 200817.

>mplc -version && mplc test.mpl && clang mpl.ll && a
MPL compiler version 200817 debug
warning: overriding the module target triple with x86_64-pc-windows-msvc19.27.29111 [-Woverride-module]
1 warning generated.

>echo %ERRORLEVEL%
0

@myCrack
Copy link
Contributor

myCrack commented Aug 18, 2020

I have checked the issue and it is seemed to be resolved, but @zk-t can't close the issue, so someone else must do it.

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

No branches or pull requests

3 participants