[dylan-lang/melange] 0c50ec: Improve error message on wrong type for output par...

GitHub <[email protected]> Thu, 11 Feb 2016 08:24:22 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56bcb5b69e72f_10f43fd6ba1e52a0255272@hookshot-fe6-cp1-prd.iad.github.net.mail>
----==_mimepart_56bcb5b69e396_10f43fd6ba1e52a02551a1
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/melange
  Commit: 0c50ecacea01a80473f041c9c1e85d0eb5fea261
      https://github.com/dylan-lang/melange/commit/0c50ecacea01a80473f041c9c1e85d0eb5fea261
  Author: Bruce Mitchener <[email protected]>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M melange-core/c-decl.dylan

  Log Message:
  -----------
  Improve error message on wrong type for output params.

Previously, this error message would be displayed when an output
parameter did not have a pointer type:

    'Out' parameter is not an instance of a pointer type.

Now, this is shown:

    Output parameter 'flags' is int (<C-signed-int>), but a
    pointer type was expected.

* melange-core/c-decl.dylan
  (argument-direction-setter): Improve error message.



----==_mimepart_56bcb5b69e396_10f43fd6ba1e52a02551a1
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56bcb5b69e396_10f43fd6ba1e52a02551a1--