Hi all
For the latest CEDET from bzr, I receive many errors of following form:
Idle Work Including Error: "#<buffer CSomeFile.cpp> - Wrong type
argument: eieio-object-p, nil" [2 times]
Debugger entered--Lisp error: (wrong-type-argument eieio-object-p nil)
signal(wrong-type-argument (eieio-object-p nil))
slot-boundp(nil tags)
(not (slot-boundp inctable (quote tags)))
(or (null inside-ns) (not (slot-boundp inctable (quote tags))))
It happens in semanticdb-find-table-for-include-c-mode function
(semantic-c.el) - it happens because
semanticdb-find-table-for-include-default returns nil and this value
is used in slot-boundp function. I'm not sure, how we could change if
condition that uses slot-boundp function, to handle nil's correctly -
maybe changing condition to this will help:
=== modified file 'semantic/bovine/semantic-c.el'
--- semantic/bovine/semantic-c.el 2012-02-22 21:15:33 +0000
+++ semantic/bovine/semantic-c.el 2012-03-19 10:49:08 +0000
@@ -1911,6 +1911,7 @@
(inside-ns (semantic-tag-get-attribute includetag :inside-ns))
tags newtags namespaces prefix parenttable newtable)
(if (or (null inside-ns)
+ (not inctable)
(not (slot-boundp inctable 'tags)))
inctable
(when (and (eq inside-ns t)
--
With best wishes, Alex Ott
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott
|