wwylele / mhrice

Monster Hunter Rise information website
http://mhrice.info
Apache License 2.0
111 stars 8 forks source link

[tdb-dump]missing closing bracket on return attribute #14

Closed dtlnor closed 2 years ago

dtlnor commented 2 years ago

in the tdb output of PC 3.6.1.1 version in class snow.AgapanthusClient.<>c in method System.ValueTuple`2<System.String,snow.AgapanthusClient.FileInfoData> <onReceiveInfo>b__35_0

the return attribute is missing the closing bracket

line 1267060~

    /* returns */[System.Runtime.CompilerServices.TupleElementNamesAttribute(["f","u",]
    /*16896, 0*/ [hid_by_sig]internal  System.ValueTuple`2<System.String,snow.AgapanthusClient.FileInfoData> <onReceiveInfo>b__35_0 (
        /*0*/  snow.AgapanthusClient.FileInfoData u,
        /*0*/  System.String f,
    );

I've tried to change the code of tdb.rs on line 959 print!("]"); to print!("])]"); which seems fine to solve this problem as far as I can see

wwylele commented 2 years ago

oops. Thanks for the report!

wwylele commented 2 years ago

Should be fixed in https://github.com/wwylele/mhrice/commit/8fce9d88aad78c623134f5c20e19399bf5daa257