From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 16D183857821 for ; Wed, 10 Feb 2021 15:12:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 16D183857821 Received: by mail-ej1-x631.google.com with SMTP id f14so4829180ejc.8 for ; Wed, 10 Feb 2021 07:12:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5YetLl3QpRn6APr9rdu850L6Uyyudkp5q6zeVycIiSQ=; b=lF6ra84cgdaWhDBLTZL7LCuGDfVbO3oHTgfXRauyWkQl9XP5EIJIG0iTWpocL2DMvl MPXPkHTvqWr4k0ZdP959cVyKkMs5k1DidTIq+vxy1axSEWxFKR39gDpOfoWBaQUVsefq aRytCHFl1NvN7LCVHJE3CrYm/pQy3Easd+Wb02dOH770X7/B+TnFQYusfEqtu82NGzWX SvfiZQY/MEJtn5TC6Y0Flig161WtlFylvb51n4+B6BDNM/XEKsze3b8YdQk7kd1++qkC nBv7RyniJ3Bhs5aHmWdF1HBiXYk/CzEyVVfN03YuGo8s2J81K9O59euFr9Yaz/fGyetH soZg== X-Gm-Message-State: AOAM533uQvOD5ESIEKtKFG4+yiKRvY8/G5pHxGQQkQk11L/Z7dX0hlSC a3Cq584qq/p0vpqTSBfQWtNP4BQi3IF+9MTu7+oLNW/UAyp/ig== X-Google-Smtp-Source: ABdhPJzCRbB21BzDwzIBxqmcLl7E8lmdBjHzoyJhFRKl/V01oXg2cnf+jdIlOPlFjPVXVGzdit20tw1F14feqcqi6S4= X-Received: by 2002:a17:906:7f83:: with SMTP id f3mr3304927ejr.282.1612969974092; Wed, 10 Feb 2021 07:12:54 -0800 (PST) MIME-Version: 1.0 From: "J. Vincent Toups" Date: Wed, 10 Feb 2021 10:12:42 -0500 Message-ID: Subject: Value of given type cannot be case to its own type. To: kawa@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2021 15:12:56 -0000 I'm seeing this error: Value 'lib.mecs@131a7516' for variable 'm' has wrong type (lib.mecs) (lib.mecs cannot be cast to lib.mecs) Which on the face of things is kind of flabbergasting. The specific line of code which causes the issue suggests that it is indeed the case that the value lib.mecs@etc... is a lib.mecs instance and its being used as a lib.mecs instance. Any ideas?