ton-blockchain / intellij-ton

TON Development plugin for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/23382-ton
GNU General Public License v3.0
65 stars 8 forks source link

Parse bug #115

Open 1IxI1 opened 10 months ago

1IxI1 commented 10 months ago

Функция test возвращает (int, int, int, cell), в main я принимаю от нее только (int, int, cell), расширение не подсвечивает ошибки.

forall X -> X null() asm "PUSHNULL";

(int, int, int, cell) test () inline {
    return (0, 0, 0, null());
}

() main () {
    (int a, int b, cell c) = test();
    return ();
}
MicroNovaX commented 10 months ago

Напрямую связано с этим ишуе. https://github.com/ton-blockchain/intellij-ton/issues/118