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

util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’ #177

Open
baryluk opened this issue Apr 23, 2022 · 0 comments

Comments

@baryluk
Copy link

baryluk commented Apr 23, 2022

When compiling hunt-skeleton @ 664fa18a5401cfa6a38088d1d5d74c936a88a477 with dub and gdc-12:

../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |                                   ^
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |                                   ^
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d: In function ‘func’:
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |                                   ^
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |                                   ^
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d: In function ‘func’:
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |                                   ^
../.dub/packages/hunt-framework-3.4.6/hunt-framework/source/hunt/framework/util/uninode/Core.d:882:35: error: cannot cast expression of type ‘string’ to ‘ubyte’
  882 |         node = UniNodeImpl!UniNode(val);
      |         
gcc version 12.0.1 20220319 (experimental) [master r12-7719-g8ca61ad148f] (Debian 12-20220319-1) 

DUB version 1.27.0-2, built on Nov  8 2021
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

1 participant