Closed baalajimaestro closed 11 months ago
Log:
#0 12.02 /root/.nimble/pkgs2/telebot-2023.08.07-ce0467f40f6937025c767c9e8cd55429058d1d61/telebot/private/utils.nim(248, 17) Error: type mismatch #0 12.02 Expression: $content #0 12.02 [1] content: InlineQueryResultsButton #0 12.02 #0 12.02 Expected one of (first mismatch at [position]): #0 12.02 [1] func `$`(code: HttpCode): string #0 12.02 [1] func `$`(headers: HttpHeaders): string #0 12.02 [1] func `$`(x: float | float32): string #0 12.02 [1] func `$`(x`gensym0: `{}`(int, lit)): string #0 12.02 [1] func `$`(x`gensym1: `{}`(uint64, lit)): string #0 12.02 [1] func `$`(x`gensym2: `{}`(int64, lit)): string #0 12.02 [1] proc `$`(arg: LineInfo): string #0 12.02 [1] proc `$`(data: MultipartData): string #0 12.02 [1] proc `$`(dt: DateTime): string #0 12.02 [1] proc `$`(dur: Duration): string #0 12.02 [1] proc `$`(err: OSErrorCode): string #0 12.02 [1] proc `$`(f: TimeFormat): string #0 12.02 [1] proc `$`(i: NimIdent): string #0 12.02 [1] proc `$`(k: KeyboardMarkup): string #0 12.02 [1] proc `$`(m: InputMedia): string #0 12.02 [1] proc `$`(node: JsonNode): string #0 12.02 [1] proc `$`(node: NimNode): string #0 12.02 [1] proc `$`(p: IsoYear): string #0 12.02 [1] proc `$`(s: NimSym): string #0 12.02 [1] proc `$`(s: WideCString): string #0 12.02 [1] proc `$`(s: WideCStringObj): string #0 12.02 [1] proc `$`(s: WideCStringObj; estimate: int; replacement: int = 0x0000FFFD): string #0 12.02 [1] proc `$`(stackTraceEntries: seq[StackTraceEntry]): string #0 12.02 [1] proc `$`(t: StringTableRef): string #0 12.02 [1] proc `$`(t: typedesc): string #0 12.02 [1] proc `$`(ti: TimeInterval): string #0 12.02 [1] proc `$`(time: Time): string #0 12.02 [1] proc `$`(v: DbValue): string #0 12.02 [1] proc `$`(w: WideCString; estimate: int; replacement: int = 0x0000FFFD): string #0 12.02 [1] proc `$`(x: bool): string #0 12.02 [1] proc `$`(x: char): string #0 12.02 [1] proc `$`(x: cstring): string #0 12.02 [1] proc `$`(x: int): string #0 12.02 [1] proc `$`(x: int64): string #0 12.02 [1] proc `$`(x: string): string #0 12.02 [1] proc `$`(x: uint64): string #0 12.02 [1] proc `$`(zone: Timezone): string #0 12.02 [1] proc `$`[A, B](t: OrderedTableRef[A, B]): string #0 12.02 [1] proc `$`[A, B](t: OrderedTable[A, B]): string #0 12.02 [1] proc `$`[A, B](t: TableRef[A, B]): string #0 12.02 [1] proc `$`[A, B](t: Table[A, B]): string #0 12.02 [1] proc `$`[A](t: CountTableRef[A]): string #0 12.02 [1] proc `$`[A](t: CountTable[A]): string #0 12.02 [1] proc `$`[Enum: enum](x: Enum): string #0 12.02 [1] proc `$`[T, IDX](x: array[IDX, T]): string #0 12.02 [1] proc `$`[T, U](x: HSlice[T, U]): string #0 12.02 [1] proc `$`[T: object](x: T): string #0 12.02 [1] proc `$`[T: tuple](x: T): string #0 12.02 [1] proc `$`[T](self: Option[T]): string #0 12.02 [1] proc `$`[T](x: openArray[T]): string #0 12.02 [1] proc `$`[T](x: seq[T]): string #0 12.02 [1] proc `$`[T](x: set[T]): string #0 12.02
Nim 2.0?
Yes, on nim 2.0, and the code concerned is here: https://git.baalajimaestro.me/baalajimaestro/nim-censor-bot
Log: