yuki-kimoto / SPVM

SPVM Language
https://metacpan.org/pod/SPVM
MIT License
61 stars 14 forks source link

Compile error message is cut off. #520

Closed yuki-kimoto closed 1 month ago

yuki-kimoto commented 4 months ago
t/IO-Socket-IP.t ............................. [CompileError]The return type of the "peeraddr" method in the "IO::Socket::IP" class which return type is "Sys::Socket::In_addr_base" must be able to be assigned to the return type of the "peeraddr" method in the "IO::Socket::INET" class which return type is "Sys::Soc
 at /home/kimoto/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux/SPVM/Builder/Native/Compiler.pm line 77.
        SPVM::Builder::Native::Compiler::compile_with_exit(SPVM::Builder::Native::Compiler=HASH(0x5560cab0d3e8), "TestCase::IO::Socket::IP", "/home/kimoto/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5"..., 55) called at /home/kimoto/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux/SPVM/Global.pm line 55
        SPVM::Global::build_class("TestCase::IO::Socket::IP", "t/IO-Socket-IP.t", 9) called at /home/kimoto/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux/SPVM.pm line 18
        SPVM::import("SPVM", "TestCase::IO::Socket::IP") called at t/IO-Socket-IP.t line 9
        main::BEGIN() called at t/IO-Socket-IP.t line 9
        eval {...} called at t/IO-Socket-IP.t line 9
BEGIN failed--compilation aborted at t/IO-Socket-IP.t line 9.
t/IO-Socket-IP.t ............................. Dubious, test returned 255 (wstat 65280, 0xff00)
yuki-kimoto commented 1 month ago

Fixed.

2ed1e18a8