[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890294: marked as done (asymptote: complex eval-using code triggers assert failure)



Your message dated Wed, 04 Apr 2018 01:49:30 +0000
with message-id <E1f3XYI-000DpH-TH@fasolo.debian.org>
and subject line Bug#890294: fixed in asymptote 2.42-1
has caused the Debian Bug report #890294,
regarding asymptote: complex eval-using code triggers assert failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
890294: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890294
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: asymptote
Version: 2.41-4
Severity: normal

Hello! Following piece of code is meant to create wrapper structures
around primitive types, simplifying creation of generic code.

	var casts = quote {
		public TWrap operator cast(TInner value)
		{
			var obj = new TWrap;
			obj.value = value;
			return obj;
		}
		public TInner operator cast(TWrap obj)
		{
			return obj.value;
		}
	};

	void define_wrapper(string type)
	{
		string wrapper = 'A' + type;
		string prog = 'public struct ' + wrapper + '{ ' + type + ' value; };';
		eval(prog, true);
		eval('typedef ' + wrapper + ' TWrap', true);
		eval('typedef ' + type + ' TInner', true);
		eval(casts, true);
	}
	define_wrapper('int');
	define_wrapper('real');


Unfortunately, following error is produced instead:

	asy: exp.cc:43: virtual void absyntax::exp::transAsType(trans::coenv&, types::ty*): Assertion `t->kind==ty_error || equivalent(t,target)' failed.

Problem is present in both versions in sid and stretch.

--- End Message ---
--- Begin Message ---
Source: asymptote
Source-Version: 2.42-1

We believe that the bug you reported is fixed in the latest version of
asymptote, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 890294@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated asymptote package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 Apr 2018 10:02:23 +0900
Source: asymptote
Binary: asymptote asymptote-doc
Architecture: source amd64 all
Version: 2.42-1
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 asymptote  - script-based vector graphics language inspired by MetaPost
 asymptote-doc - documentation and examples for asymptote
Closes: 890294
Changes:
 asymptote (2.42-1) unstable; urgency=medium
 .
   * New upstream version 2.42
     - improved diagnostics (Closes: #890294)
   * update/cleanup patches
   * bump standards version, no changes necessary
Checksums-Sha1:
 29f2efabebd603766a1568814c14ee19cc6c56db 2078 asymptote_2.42-1.dsc
 2f2a697ef93ebca1bafecfed79303a520892f915 3545483 asymptote_2.42.orig.tar.gz
 3a228bc3ae7312b75f740a51d7a59239d02f4670 15676 asymptote_2.42-1.debian.tar.xz
 2a5bbbcafb65842b65297ae73432bb883b07dddf 11126492 asymptote-dbgsym_2.42-1_amd64.deb
 7cd0bfa25c86c33fcec6827a67c520e41582ab85 2909988 asymptote-doc_2.42-1_all.deb
 ddfc26dda91f82901aa8f604176cb980bf13dd2d 12675 asymptote_2.42-1_amd64.buildinfo
 44f9654cc001b2ba1a1480aafd2254ebceedecb0 1730700 asymptote_2.42-1_amd64.deb
Checksums-Sha256:
 81d9bbefef1f0a023b3e30ca9337918786d0d39a67228063a2e4b07dcb12d664 2078 asymptote_2.42-1.dsc
 25b530611ea6d365ebf12a3225e5d4f50baf0a7cef24360fbafbb60f3561f936 3545483 asymptote_2.42.orig.tar.gz
 d960ebb5c2c7628bf8c4719963e2dfa02edaca2d2b65073182a0319de9f4ceb9 15676 asymptote_2.42-1.debian.tar.xz
 214d88180c64084100dd5831b57ff2de4aa9154581850e803e0ada0f6eb592bf 11126492 asymptote-dbgsym_2.42-1_amd64.deb
 cc1239ff759ccddd0ab77ad70b6cbbbbc27eac3f59d0484ffe0790f44e45064e 2909988 asymptote-doc_2.42-1_all.deb
 591f8e87f52c1e8fabde2c8a3b89c38858ea2a3fc2638785d18452a05f008ed8 12675 asymptote_2.42-1_amd64.buildinfo
 0430929395451a7f31cf592917939c48aa69f8732d3cc17d1c25679b4c028e68 1730700 asymptote_2.42-1_amd64.deb
Files:
 8e17c9a3fd138ad205f2a39d31cc3c39 2078 tex optional asymptote_2.42-1.dsc
 38a990bb5a4737641bb4b78cb78976cb 3545483 tex optional asymptote_2.42.orig.tar.gz
 486544da332d6435de17fca1157ee516 15676 tex optional asymptote_2.42-1.debian.tar.xz
 2b79a33b44bc336d1622db977ff4c30c 11126492 debug optional asymptote-dbgsym_2.42-1_amd64.deb
 360f5c068ef5d1403e3744f6f3bb0803 2909988 doc optional asymptote-doc_2.42-1_all.deb
 5a6485998a68e3077ad0c0ed2ac40d6e 12675 tex optional asymptote_2.42-1_amd64.buildinfo
 ffcf8c93621cf1968fdf71f4ec68adbf 1730700 tex optional asymptote_2.42-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAlrEKrQACgkQ2A4JsIcU
AGZEhQf/Sca7vS1Md5e7c+Uf1AkS13N1wPhuBd9BKNZRG0Ycjx6WlJxMRGu90unY
FzBrGxnc3ehdmSAORS5TLnxRvF1uXBKuJENp4X5ll/sGoIsLGpkrt+2cPUb/9bak
Ik47jPM3zjA2GtpTjVxJpvSKCa0PY9pGOrfSayg4aPI/HtVrmX/z0hRKZwEqHam0
pDTionWWbB21C1noZ5V05626MOzaG3uqGR2Jh/aPFT81F9hXy629fynBH1JCM92B
4uTdpGCGIKWPE6fB7lrNTgBT+hfjNJyYrXsH5aZ5BixYZrhZAw/U7vI90mT4nYUO
WZXCBDVgMAnU8bIKOvmAKx+SOkNsyw==
=KBzI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: