{"action":"closed","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/69","labels_url":"https://api.github.com/repos/marko-js/marko/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/69/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/69/events","html_url":"https://github.com/marko-js/marko/issues/69","id":72062844,"number":69,"title":"Custom tag self reference does not work","user":{"login":"saraxu","id":3012249,"avatar_url":"https://avatars.githubusercontent.com/u/3012249?v=3","gravatar_id":"","url":"https://api.github.com/users/saraxu","html_url":"https://github.com/saraxu","followers_url":"https://api.github.com/users/saraxu/followers","following_url":"https://api.github.com/users/saraxu/following{/other_user}","gists_url":"https://api.github.com/users/saraxu/gists{/gist_id}","starred_url":"https://api.github.com/users/saraxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saraxu/subscriptions","organizations_url":"https://api.github.com/users/saraxu/orgs","repos_url":"https://api.github.com/users/saraxu/repos","events_url":"https://api.github.com/users/saraxu/events{/privacy}","received_events_url":"https://api.github.com/users/saraxu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-30T04:56:28Z","updated_at":"2015-07-24T17:12:21Z","closed_at":"2015-07-24T17:12:21Z","body":"I created a custom tag component, app-fieldset, which can include other custom tags, eg. app-text-field.\r\nIt works fine if the inside custom tag are other types, but I get error if it refers itself.\r\n\r\nTemplate.marko in app-fieldset:\r\n\r\n`...\r\n<if test=\"fType === 'text'\">\r\n    <app-text-field viewModel=\"field\" />\r\n </if>\r\n <else-if test=\"fType === 'fieldset'\">\r\n   <app-fieldset viewModel=\"field\" /> //refers self \r\n </else-if>\r\n`\r\n\r\nThe error in console is:\r\nThu, 30 Apr 2015 04:14:22 GMT uncaughtException Invalid tag handler: [object Object]\r\nError: Invalid tag handler: [object Object]\r\n    at Function.deferredRenderer.renderer (...../node_modules/marko/runtime/helpers.js:35:19)\r\n    at deferredRenderer (..../node_modules/marko/runtime/helpers.js:27:26)\r\n    at module.exports.t (..../node_modules/marko/runtime/helpers.js:181:9)\r\n    at ..../src/components/app-fieldset/template.marko.js:59:15\r\n\r\nI used the latest version of marko: \"2.3.2\" per https://github.com/raptorjs/marko/issues/66\r\nbut seems not work for this case.\r\n\r\n\r\n\r\nThanks,\r\nSara\r\n\r\n\r\n\r\n"}}