argotorg / solcore

experimental solidity compiler
13 stars 1 forks source link

Handle class-qualified methods #39

Closed mbenke closed 3 weeks ago

mbenke commented 3 weeks ago

Specialisation/EmitCore does not handle the new class-qualified methods:

$ testsol test/examples/spec/10negBool.solc 
test/examples/spec/10negBool.solc
Emitting core for contract NegBool
Writing to output.core
yule: output.core:2:17:
  |
2 |     function Neg.neg$B (x : B{(unit + unit)}) -> B{(unit + unit)} {
  |                 ^
unexpected '.'
expecting '$', '(', '_', or alphanumeric character